new to Java technology. Work through both rising and moving parts with object-oriented
programming (OOP) and real-world application development using Java-language and platform.
Java is a simple, robust and secure programming language. Here are the key features of Java: |
an overview of the Java platform and language, followed by instructions for setting up a
development environment, combined with the Java Development Kit (JDK) and the Eclipse IDE.
After getting acquainted with the components of your development environment, you start learning
basic Java syntax.
platform. The tutorial includes an summary or you can say overview of OOP concepts.
System requirements
consisting of:
Java platform overview
from consumer devices to heterogeneous enterprise systems. In this section, get a high-level view
of the Java platform and its components.
Three locations are planned in Javadoc. The top left lane shows all API packages, and the bottom left
shows lessons for each set. The main panel shows the details for the currently selected package or
class. For example, if you click java.utilpackage in the top left, then click the ArrayList class below, you see the details on the right side of the ArrayList, including the description of how to use it and its methods.
The Java language is a C-language derivative, as its syntax guideline look much like C's. For example, code
blocks are modularized into process and delimited by braces ({ and }), and variables are acknowledge before
they are used.
The Java compiler
The JVM
During the runtime, JVM reads and interprets .class files. The program executes the instructions on the original hardware platform, for which JVM was written. JVM interprets the bytecode in the same way as the CPU interprets assembly-language instructions. The difference is that JVM is a piece of software specifically written for a particular platform. JVM is the heart of the Java language's "right-ons, run-anne-somewhere" theory.
Your code can run on any chipset for which an appropriate JVM implementation is available. JVM is available for major platforms such as Linux and Windows, and java language subsets have been implemented in JVM for mobile phones and Hobbit chips.
The garbage collector
Java platform gives data management out of the box. When your Java application creates an object
instance at during time, the JVM naturally allocates memory space for that object from the heap— a
pool of memory set aside for your program to work or use. The Java garbage collector runs in the
background, keeping track of which objects the application no longer needs and reclaiming memory