java package tutorial

Java.lang – Useful Resources

Java.lang &-8211; Useful Resources &-8211; this Article or News was published on this date:2019-05-12 15:28:30 kindly share it with friends if you find it helpful

Java.lang &-8211; Useful Resources


Advertisements


The following resources contain additional information on Java. Please use them to get more in-depth knowledge on this topic.

Useful Links on Java

  • The JavaTM Tutorials − The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications.

  • JavaTM 2 SDK, Standard Edition − Official site for JavaTM 2 SDK, Standard Edition

  • Free Java Download − Download Java for your desktop computer now!

  • Sun Developer Network − Sun Microsystem&-8217;s official website listing down all the API documentation, latest Java Technologies, Books and other resource.

Useful Books on Java

  • Java, A Beginner's Guide
  • Effective Java
  • Sams Teach Yourself Java in 24 Hours
  • Beginning Programming with Java For Dummies
  • Building Java Programs
  • Introduction to Java Programming

To enlist your site on this page, please drop an email to [email protected]



Advertisements

Java.lang &-8211; Home

Java.lang &-8211; Boolean

Java.lang &-8211; Byte

Java.lang &-8211; Character

Java.lang &-8211; Character.Subset

Java.lang &-8211; Character.UnicodeBlock

Java.lang &-8211; Class

Java.lang &-8211; ClassLoader

Java.lang &-8211; Compiler

Java.lang &-8211; Double

Java.lang &-8211; Enum

Java.lang &-8211; Float

Java.lang &-8211; InheritableThreadLocal

Java.lang &-8211; Integer

Java.lang &-8211; Long

Java.lang &-8211; Math

Java.lang &-8211; Number

Java.lang &-8211; Object

Java.lang &-8211; Package

Java.lang &-8211; Process

Java.lang &-8211; ProcessBuilder

Java.lang &-8211; Runtime

Java.lang &-8211; RuntimePermission

Java.lang &-8211; SecurityManager

Java.lang &-8211; Short

Java.lang &-8211; StackTraceElement

Java.lang &-8211; StrictMath

Java.lang &-8211; String

Java.lang &-8211; StringBuffer

Java.lang &-8211; StringBuilder

Java.lang &-8211; System

Java.lang &-8211; Thread

Java.lang &-8211; ThreadGroup

Java.lang &-8211; ThreadLocal

Java.lang &-8211; Throwable

Java.lang &-8211; Void

Java.lang &-8211; Interfaces

Java.lang &-8211; Errors

Java.lang &-8211; Exceptions

Java.lang &-8211; Useful Resources

Java.lang &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who

Discuss Java.lang

Discuss Java.lang &-8211; this Article or News was published on this date:2019-05-12 15:28:30 kindly share it with friends if you find it helpful

Discuss Java.lang


Advertisements


Java.util package contains the classes that are fundamental to the design of the Java programming language. This tutorial cum reference will take you through all the methods available in java.lang package using simple and practical example.




Advertisements

Java.lang &-8211; Home

Java.lang &-8211; Boolean

Java.lang &-8211; Byte

Java.lang &-8211; Character

Java.lang &-8211; Character.Subset

Java.lang &-8211; Character.UnicodeBlock

Java.lang &-8211; Class

Java.lang &-8211; ClassLoader

Java.lang &-8211; Compiler

Java.lang &-8211; Double

Java.lang &-8211; Enum

Java.lang &-8211; Float

Java.lang &-8211; InheritableThreadLocal

Java.lang &-8211; Integer

Java.lang &-8211; Long

Java.lang &-8211; Math

Java.lang &-8211; Number

Java.lang &-8211; Object

Java.lang &-8211; Package

Java.lang &-8211; Process

Java.lang &-8211; ProcessBuilder

Java.lang &-8211; Runtime

Java.lang &-8211; RuntimePermission

Java.lang &-8211; SecurityManager

Java.lang &-8211; Short

Java.lang &-8211; StackTraceElement

Java.lang &-8211; StrictMath

Java.lang &-8211; String

Java.lang &-8211; StringBuffer

Java.lang &-8211; StringBuilder

Java.lang &-8211; System

Java.lang &-8211; Thread

Java.lang &-8211; ThreadGroup

Java.lang &-8211; ThreadLocal

Java.lang &-8211; Throwable

Java.lang &-8211; Void

Java.lang &-8211; Interfaces

Java.lang &-8211; Errors

Java.lang &-8211; Exceptions

Java.lang &-8211; Useful Resources

Java.lang &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who

Java.lang.Errors

Java.lang.Errors &-8211; this Article or News was published on this date:2019-05-12 15:28:29 kindly share it with friends if you find it helpful

Java.lang.Errors


Advertisements


Introduction

The java.lang.Errors provides for different errors thrown under java lang package.

Error Summary

Sr.No. Error & Description
1

AbstractMethodError

This is Thrown when an application tries to call an abstract method.

2

AssertionError

This is Thrown to indicate that an assertion has failed.

3

ClassCircularityError

This is Thrown when a circularity has been detected while initializing a class.

4

ClassFormatError

This is Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.

5

Error

This is an Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.

6

ExceptionInInitializerError

These are the Signals that an unexpected exception has occurred in a static initializer.

7

IllegalAccessError

This is Thrown if an application attempts to access or modify a field, or to call a method that it does not have access to

8

IncompatibleClassChangeError

This is Thrown when an incompatible class change has occurred to some class definition.

9

InstantiationError

This is Thrown when an application tries to use the Java new construct to instantiate an abstract class or an interface.

10

InternalError

This is Thrown to indicate some unexpected internal error has occurred in the Java Virtual Machine.

11

LinkageError

The Subclasses of LinkageError indicate that a class has some dependency on another class.

12

NoClassDefFoundError

This is Thrown if the Java Virtual Machine or a ClassLoader instance tries to load in the definition of a class and no definition of the class could be found.

13

NoSuchFieldError

This is Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.

14

NoSuchMethodError

This is Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.

15

OutOfMemoryError

This is Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.

16

StackOverflowError

This is Thrown when a stack overflow occurs because an application recurses too deeply.

17

ThreadDeath

This is an instance of ThreadDeath is thrown in the victim thread when the stop method with zero arguments in class Thread is called.

18

UnknownError

This is Thrown when an unknown but serious exception has occurred in the Java Virtual Machine.

19

UnsatisfiedLinkError

This is Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.

20

UnsupportedClassVersionError

This is Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.

21

VerifyError

This is Thrown when the &-8220;verifier&-8221; detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.

22

VirtualMachineError

This is Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.



Advertisements

Java.lang &-8211; Home

Java.lang &-8211; Boolean

Java.lang &-8211; Byte

Java.lang &-8211; Character

Java.lang &-8211; Character.Subset

Java.lang &-8211; Character.UnicodeBlock

Java.lang &-8211; Class

Java.lang &-8211; ClassLoader

Java.lang &-8211; Compiler

Java.lang &-8211; Double

Java.lang &-8211; Enum

Java.lang &-8211; Float

Java.lang &-8211; InheritableThreadLocal

Java.lang &-8211; Integer

Java.lang &-8211; Long

Java.lang &-8211; Math

Java.lang &-8211; Number

Java.lang &-8211; Object

Java.lang &-8211; Package

Java.lang &-8211; Process

Java.lang &-8211; ProcessBuilder

Java.lang &-8211; Runtime

Java.lang &-8211; RuntimePermission

Java.lang &-8211; SecurityManager

Java.lang &-8211; Short

Java.lang &-8211; StackTraceElement

Java.lang &-8211; StrictMath

Java.lang &-8211; String

Java.lang &-8211; StringBuffer

Java.lang &-8211; StringBuilder

Java.lang &-8211; System

Java.lang &-8211; Thread

Java.lang &-8211; ThreadGroup

Java.lang &-8211; ThreadLocal

Java.lang &-8211; Throwable

Java.lang &-8211; Void

Java.lang &-8211; Interfaces

Java.lang &-8211; Errors

Java.lang &-8211; Exceptions

Java.lang &-8211; Useful Resources

Java.lang &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who

Java.lang.Exceptions

Java.lang.Exceptions &-8211; this Article or News was published on this date:2019-05-12 15:28:29 kindly share it with friends if you find it helpful

Java.lang.Exceptions


Advertisements


Introduction

The java.lang.Exceptions provides for different exceptions thrown under java lang package.

Exception Summary

Sr.No. Exception & Description
1

ArithmeticException

This is Thrown when an exceptional arithmetic condition has occurred.

2

ArrayIndexOutOfBoundsException

This is Thrown to indicate that an array has been accessed with an illegal index.

3

ArrayStoreException

This is Thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.

4

ClassCastException

This is Thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.

5

ClassNotFoundException

This is Thrown when an application tries to load in a class through its string name using: The forName method in class Class.

6

CloneNotSupportedException

This is Thrown to indicate that the clone method in class Object has been called to clone an object, but that the object&-8217;s class does not implement the Cloneable interface.

7

EnumConstantNotPresentException

This is Thrown when an application tries to access an enum constant by name and the enum type contains no constant with the specified name.

8

Exception

This is the class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.

9

IllegalAccessException

This is an IllegalAccessException is thrown when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.

10

IllegalArgumentException

This is Thrown to indicate that a method has been passed an illegal or inappropriate argument.

11

IllegalMonitorStateException

This is Thrown to indicate that a thread has attempted to wait on an object&-8217;s monitor or to notify other threads waiting on an object&-8217;s monitor without owning the specified monitor.

12

IllegalStateException

The Signals that a method has been invoked at an illegal or inappropriate time.

13

IllegalThreadStateException

This is Thrown to indicate that a thread is not in an appropriate state for the requested operation.

14

IndexOutOfBoundsException

This is Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.

15

InstantiationException

This is Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated.

16

InterruptedException

This is Thrown when a thread is waiting, sleeping, or otherwise occupied, and the thread is interrupted, either before or during the activity.

17

NegativeArraySizeException

This is Thrown if an application tries to create an array with negative size.

18

NoSuchFieldException

The Signals that the class doesn&-8217;t have a field of a specified name.

19

NoSuchMethodException

This is Thrown when a particular method cannot be found.

20

NullPointerException

This is Thrown when an application attempts to use null in a case where an object is required.

21

NumberFormatException

This is Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.

22

RuntimeException

This is RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.

23

SecurityException

This is Thrown by the security manager to indicate a security violation.

24

StringIndexOutOfBoundsException

This is Thrown by String methods to indicate that an index is either negative or greater than the size of the string.

25

TypeNotPresentException

This is Thrown when an application tries to access a type using a string representing the type&-8217;s name, but no definition for the type with the specified name can be found.

26

UnsupportedOperationException

This is Thrown to indicate that the requested operation is not supported.



Advertisements

Java.lang &-8211; Home

Java.lang &-8211; Boolean

Java.lang &-8211; Byte

Java.lang &-8211; Character

Java.lang &-8211; Character.Subset

Java.lang &-8211; Character.UnicodeBlock

Java.lang &-8211; Class

Java.lang &-8211; ClassLoader

Java.lang &-8211; Compiler

Java.lang &-8211; Double

Java.lang &-8211; Enum

Java.lang &-8211; Float

Java.lang &-8211; InheritableThreadLocal

Java.lang &-8211; Integer

Java.lang &-8211; Long

Java.lang &-8211; Math

Java.lang &-8211; Number

Java.lang &-8211; Object

Java.lang &-8211; Package

Java.lang &-8211; Process

Java.lang &-8211; ProcessBuilder

Java.lang &-8211; Runtime

Java.lang &-8211; RuntimePermission

Java.lang &-8211; SecurityManager

Java.lang &-8211; Short

Java.lang &-8211; StackTraceElement

Java.lang &-8211; StrictMath

Java.lang &-8211; String

Java.lang &-8211; StringBuffer

Java.lang &-8211; StringBuilder

Java.lang &-8211; System

Java.lang &-8211; Thread

Java.lang &-8211; ThreadGroup

Java.lang &-8211; ThreadLocal

Java.lang &-8211; Throwable

Java.lang &-8211; Void

Java.lang &-8211; Interfaces

Java.lang &-8211; Errors

Java.lang &-8211; Exceptions

Java.lang &-8211; Useful Resources

Java.lang &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who

Java.lang.Interfaces

Java.lang.Interfaces &-8211; this Article or News was published on this date:2019-05-12 15:28:28 kindly share it with friends if you find it helpful

Java.lang.Interfaces


Advertisements


Introduction

The java.lang.Interfaces provides different interfaces used under java lang package.

Interface Summary

Sr.No. Interface & Description
1

Appendable

This is an object to which char sequences and values can be appended

2

CharSequence

This is a CharSequence is a readable sequence of char values.

3

Cloneable

This is a class implements the Cloneable interface to indicate to the Object.clone() method that it is legal for that method to make a field-for-field copy of instances of that class.

4

ComparableT>

This imposes a total ordering on the objects of each class that implements it.

5

IterableT>

Implementing this interface allows an object to be the target of the &-8220;foreach&-8221; statement.

6

Readable

This is a Readable is a source of characters.

7

Runnable

This is the Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.

8

Thread.UncaughtExceptionHandler

This is the Interface for handlers invoked when a Thread abruptly terminates due to an uncaught exception.



Advertisements

Java.lang &-8211; Home

Java.lang &-8211; Boolean

Java.lang &-8211; Byte

Java.lang &-8211; Character

Java.lang &-8211; Character.Subset

Java.lang &-8211; Character.UnicodeBlock

Java.lang &-8211; Class

Java.lang &-8211; ClassLoader

Java.lang &-8211; Compiler

Java.lang &-8211; Double

Java.lang &-8211; Enum

Java.lang &-8211; Float

Java.lang &-8211; InheritableThreadLocal

Java.lang &-8211; Integer

Java.lang &-8211; Long

Java.lang &-8211; Math

Java.lang &-8211; Number

Java.lang &-8211; Object

Java.lang &-8211; Package

Java.lang &-8211; Process

Java.lang &-8211; ProcessBuilder

Java.lang &-8211; Runtime

Java.lang &-8211; RuntimePermission

Java.lang &-8211; SecurityManager

Java.lang &-8211; Short

Java.lang &-8211; StackTraceElement

Java.lang &-8211; StrictMath

Java.lang &-8211; String

Java.lang &-8211; StringBuffer

Java.lang &-8211; StringBuilder

Java.lang &-8211; System

Java.lang &-8211; Thread

Java.lang &-8211; ThreadGroup

Java.lang &-8211; ThreadLocal

Java.lang &-8211; Throwable

Java.lang &-8211; Void

Java.lang &-8211; Interfaces

Java.lang &-8211; Errors

Java.lang &-8211; Exceptions

Java.lang &-8211; Useful Resources

Java.lang &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who