Describe the java.lang package, JAVA Programming

Assignment Help:

Describe the java.lang package ?

Each package describes a number of classes, exceptions, interfaces, and errors. For instance, in Java 1.1 the java.lang package holds these:

Interfaces in java.lang
• Cloneable
• Runnable
Classes in java.lang
• Boolean
• Byte
• Character
• Class
• ClassLoader
• Compiler
• Double
• Float
• Integer
• Long
• Math
• Number
• Object
• Process
• Runtime
• SecurityManager
• Short
• String
• StringBuffer
• System
• Thread
• ThreadGroup
• Throwable
• Void
Exceptions in java.lang
• ArithmeticException
• ArrayIndexOutOfBoundsException
• ArrayStoreException
• ClassCastException
• ClassNotFoundException
• CloneNotSupportedException
• Exception
• IllegalAccessException
• IllegalArgumentException
• IllegalMonitorStateException
• IllegalStateException
• IllegalThreadStateException
• IndexOutOfBoundsException
• InstantiationException
• InterruptedException
• NegativeArraySizeException
• NoSuchFieldException
• NoSuchMethodException
• NullPointerException
• NumberFormatException
• RuntimeException
• SecurityException
• StringIndexOutOfBoundsException
Errors in java.lang
• AbstractMethodError
• ClassCircularityError
• ClassFormatError
• Error
• ExceptionInInitializerError
• IllegalAccessError
• IncompatibleClassChangeError
• InstantiationError
• InternalError
• LinkageError
• NoClassDefFoundError
• NoSuchFieldError
• NoSuchMethodError
• OutOfMemoryError
• StackOverflowError
• ThreadDeath
• UnknownError
• UnsatisfiedLinkError
• VerifyError
• VirtualMachineError


Related Discussions:- Describe the java.lang package

File I/O, Write a program that reads both the girl and boy files into memor...

Write a program that reads both the girl and boy files into memory using arrays. Then, allow the user to input a name. The program should search through both arrays. If there is

Enumerate the java program development and execution steps, Java Program De...

Java Program Development and Execution Steps Java program normally go through five phases. These are 1. Edit, 2. Compile, 3. Load, 4. Verify and 5. Execute Co

Photo upload feature to android app with google app engine, Include Photo U...

Include Photo Upload feature to Android App with Google App Engine Project Description: I have one small Android App skeleton that requires some features added to and backed

data integrity - security component, Data integrity helps to make sure if ...

Data integrity helps to make sure if something is communicate and not tampered with in the mean while when transmission take place. Checksums: Simply inserts the bytes withi

Write the hashcode() method of java.lang.object, Write the hashCode() metho...

Write the hashCode() method of java.lang.Object Anytime you override equals() you should also override hashCode(). The hashCode() method should ideally return the similar int f

What is the data normalization also define its goal, What is the Data Norma...

What is the Data Normalization? Also define its goal. Data normalization is to sort out complex data within easy form. It uses to simplify the complex information to form it mo

Code, Alia is appearing for the board exams. In order to qualify for the ne...

Alia is appearing for the board exams. In order to qualify for the next class Alia need to get exactly X credits. In current semester Alia has to study N number of subjects, and ev

Explain the role of remote interface in rmi, The Remote interface serves to...

The Remote interface serves to recognize interfaces whose methods may be invoked from a non-local virtual machine. Any object that is a remote object must directly or indirectly ex

Java identifiers, 1. Which of the following are not valid Java identifiers,...

1. Which of the following are not valid Java identifiers, and why? (a) wolVes (b) United(there is only one) (c) 87 (d) 5 3 (e) Real ale (f) isFound?by 2. A cla

Create a generic class with a type parameter, 1. The purpose of this proble...

1. The purpose of this problem is to practice using generics.  Create a generic class with a type parameter that simulates drawing an item at random out of a box. For exampl

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd