If you can dream it, you can do it.
--Your friends at LectureNotes

Note for Core Java - cjava By Deepak kumar

  • Core Java - cjava
  • Note
  • 11 Offline Downloads
  • Uploaded 8 months ago
0 User(s)
Download PDFOrder Printed Copy

Share it with your friends

Leave your Comments

Text from page-1

In-house Training CORE JAVA Nishant Kumar Assistant Professor GGSESTC, Bokaro e-mail: nishant89.sheo@gmail.com Core JAVA - InHouse Training By Nishant Kumar 1

Text from page-2

Java better than C++ ? • • • • • • • • • No No No No No No No No No Typedefs, Defines, or Preprocessor Global Variables Goto statements Pointers Unsafe Structures Multiple Inheritance Operator Overloading Automatic Coercions Fragile Data Types Core JAVA - InHouse Training By Nishant Kumar 2

Text from page-3

Java Environment/ Life Cycle of Java Code Runtime Environment Compile-time Environment Bytecode Verifier Java Source (.java) Java Compiler Class Loader Java Bytecodes move locally or through network Java Interpreter Just in Time Compiler Java Class Libraries Java Virtual machine Runtime System Java Bytecode (.class ) Operating System Core JAVA - InHouse Training By Hardware Nishant Kumar 3

Text from page-4

Primitive Data Types Data Type Characteristics Range byte 8 bit signed integer -128 to 127 short 16 bit signed integer -32768 to 32767 int 32 bit signed integer -2,147,483,648 to 2,147,483,647 long 64 bit signed integer -9,223,372,036,854,775,808 to9,223,372,036,854,775,807 float 32 bit floating point number + 1.4E-45 to + 3.4028235E+38 double 64 bit floating point number + 4.9E-324 to + 1.7976931348623157E+308 boolean true or false NA, note Java booleans cannot be converted to or from other types char 16 bit, Unicode Unicode character, \u0000 to \uFFFF Can mix with integer types Core JAVA - InHouse Training By Nishant Kumar 4

Lecture Notes