MCQs Test!! VB Basic Test !! Essentials of VB !! Creating User Services !! function !! Anatomy !! GK March-2019 !! DATA TYPES IN JAVA !! Classes ,Constructor ,Methods,Inheritance !! Ecology-I !! Biology 2019 !! Gk april 2019 !! Biology (living world) !! Plant anatomy !! CELL STRUCTURES AND FUNCTION !! General biology !! Human physiology !! Data structure !! Ecology-II !! GK TEST !! Reproduction in plants !! Human reproduction !! The ABC of C !! Operating system set1 !! Operating system set2 !! Gk and current affairs !! Animal kingdom !! Number system !! Animal kingdom-II !! Gk TEST-III !! Number series !! Microorganisms !! Interview question in c !! Time and Work !! Percentage !! General history !! Average !! Cells !! Locomotion and Movement !! paging !! Bacteriology !! Page replacement policy !! Secondary memory and Disk scheduling !! Introduction of Nervous System and neurons !! Plant harmones !! Transport and Mineral Nutrition in Plants !! Neurotransmitters !! Modern Indian History !! Photosynthesis in Plants !! Modern Indian History-II !! Plant respiration !! Environment & Biodiversity !! Environment & Biodiversity - II !! Algae, Bryophytes, Pteridophytes !! Area !! Cricket !! Days of the Year (India and the World) !! Plant Pathology - I !! Indian Transport System !! Plant Pathology - II !! Aptitude !! Biology !! Botany !! C language !! Computer Science !! Core Java !! Gate !! GK !! Mysql !! Operating system !! Physics !! VB-Visual Basic !! Zoology

Lang package In Java

java.lang Projects

java.lang Project

java.lang Examples

java.lang Examples

Package java.lang

Package java.lang is most fundamental package provides classes that are fundamental to the design of the Java programming language. Package contain several classes

Most important classes
  • Object: An object is an instance of a class exhibits two characteristics such as state and behavior. object is the root of the class hierarchy.
  • Class: Class is the prototype/ blueprint from which object is create. Class is used to declare fields, constructors , and methods.
Lang Tutorials and Interview Questions
Primitive data type and Wrapper classes

The primitive wrapper classes and their corresponding primitive types are

Primitive data type Primitive Wrapper class
boolean Boolean
byteByte
shortShort
intInteger
longLong
floatFloat
doubleDouble
charCharacter

 

The class Math provides commonly used mathematical functions such as sine, cosine, and square root.

The classes String and StringBuffer similarly provide commonly used operations on character strings.

Class Throwable encompasses objects that may be thrown the exception by the throw statement . Subclasses of Throwable represent errors and exceptions.