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

Write code in javascript language to show the odd numbers, Write code in Ja...

Write code in JavaScript language to show the odd numbers among 20 to 100 using FOR statement. Note: No requirement to write whole HTML program. Just JavaScript code of need p

Educational app, CP5307 Assessment Task 3 Coding Project Specification SP22...

CP5307 Assessment Task 3 Coding Project Specification SP22, 2019 Brisbane Description Another type of app found on app stores are “educational games”. There are immersive full-

What is a portal?, A portal is a service or a Web site that gives broad ran...

A portal is a service or a Web site that gives broad range of services and resources like e-mail, forums, search engines, weather information, news, on-line shopping, stock quotes.

We need a java developer, We need a Java Developer a) Having 4.6 years o...

We need a Java Developer a) Having 4.6 years of I.T experience Java, J2EE, spring, Hibernate, JSF, Swings. b) Analyze, identifying and understanding the client requirements a

Multitreading, what is multithreading in Java? Explain with example.

what is multithreading in Java? Explain with example.

How we can changing the implementation, How we can changing the Implementat...

How we can changing the Implementation ? Suppose the Car class requires to be used in a simulation of New York City traffic in that each actual car on the street is represente

Write an aspect that counts different kinds of method calls, Problem statem...

Problem statement Part 1 Write an aspect that counts different kinds of method calls in a Java program. Your aspect should meet the following requirements:  The aspect should ma

Data Structures Projects, I have three data structures projects that I need...

I have three data structures projects that I need help with.

When should a method be static, When should a method be static? • Neith...

When should a method be static? • Neither reads from nor writes to example fields • Independent of the state of the object • Mathematical methods which accept arguments, appl

Difference between java mail and jms queue, JMS is the ideal high-performan...

JMS is the ideal high-performance messaging stage for intra business messaging, with full programmatic control over quality of service and delivery options. JavaMail gives lowes

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