Java is a high-level programming language which was originally developed by Sun Microsystems and was released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS and various versions of UNIX.
Java uses Just-In-Time(JIT) compiler to enable high performance. Just-In-Time(JIT) compiler is a program that turns Java bytecode,
which is a program containing instructions that can be sent directly to the processor.
When Java is compiled, it is not compiled into platform specific machine, rather it is combined into platform independent byte code. This byte code is distributed over the web and interpreted by
virtual Machine (JVM) on whichever platform it is being run.
Object is a runtime entity whose state is stored in fields and behavior is shown via methods. Methods operate on an object's internal state
and serve as the primary mechanism for object-to-object communication.
Variables defined inside 'methods', 'constructors' or 'blocks' are called 'local variables'. The variable will be declared
and initialized within the method and it will be destroyed when the method gets completed.
WAR is a Web Archive File and is used to store XML, Java classes and JavaServer pages which is used to distribute
a collection of JavaServer Pages, Java Servlets, Java classes, XML files, static Web pages etc.
Unicode requires 16 bits and ASCII requires 7 bits. Although the ASCII character set uses only 7 bits, it is usually represented as 8 bits.
UTF-8 represents characters using 8, 16, and 18 bit patterns. UTF-16 uses 16-bit and larger bit patterns.