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

Explain testing for equality with equals, Explain Testing for Equality with...

Explain Testing for Equality with equals? That's not what you expected. To contrast strings or any other kind of object you required to use the equals(Object o) techniques from

Explain identifiers in java, Explain Identifiers in Java ? Identifiers ...

Explain Identifiers in Java ? Identifiers are the names of variables, classes, methods, packages and interfaces. Unlike literals they are not the things themselves, only ways o

Data structure, consider the file name cars.text each line in the file cont...

consider the file name cars.text each line in the file contains information about a car ( year,company,manufacture,model name,type) 1-read the file 2-add each car which is represen

#tSutherland cohen line clipping algorithm, how do you write the code so th...

how do you write the code so the line will be clipped

Midlet for Game, How to create a program using sprite sheet?

How to create a program using sprite sheet?

What are inner beans, When wiring beans, if a bean element is embedded to a...

When wiring beans, if a bean element is embedded to a property tag directly, then that bean is said to the Inner Bean. The disadvantage of this bean is that it cannot be reused any

Explain java is fully object oriented languages or not, No, java is not ful...

No, java is not fully object oriented language due to it does not support "multiple inheritance" and "pointers" which are used in C++. But, by using Interfaces we can execute multi

What is the major role of ejb 2.x in j2ee? , EJB 2.x is broadly adopted ser...

EJB 2.x is broadly adopted server side component architecture for J2EE. 1. EJB is a remote, distributed multi-tier system and allows protocols like IIOP, JRMP, and HTTP etc.

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