Simple Java Programming Concepts for beginners!

Page 1

Simple Java Programming Concepts for beginners!

Procognition/Java-Training


In the year 1991, Sun Microsystems Inc developed the Java language which was later taken over by Oracle Corporation. Patrick Naughton and James Gosling were the masters in developing this language. It is very easy to compile, write and debug in this language. Modular programs can be easily created in this language and are also reusable.

Join the best core Java training in Pune.

Procognition/Java-Training


Java terminology Java Virtual Machine (JVM) 

This terminology is abbreviated as JVM and it contains various phases of program execution. They are:

Writing the program

Compiling the program

Running the program

Procognition/Java-Training


Java programmer writes the program ď ľ

1) Javac compiler compiles the program, the primary java compiler is none other than javac which is present in the java development kit (JDK). Java program is taken as input and generates output as Java bytecode.

ď ľ

2) In the final stage, the compiler generated bytecode is executed by JVM. Run phase program is the name given to it.

Procognition/Java-Training


The bytecode executed by the compiler is the primary function of JVM.

There are various JVM for each operating system, the execution of bytecode is generated as the output in all the operating systems. This is the reason behind the independent functionality of Java language.

In a class file compiler, the bytecode is normally saved.

Procognition/Java-Training


Java Development Kit(JDK) ď ľ

This terminology is frequently used in JVM and bytecode concepts. It stands for Java development Kit that has JRE (Java Runtime Environment), compilers and other tools like Java Debugger, JavaDoc etc.

ď ľ

For developing, compiling and running Java program you need JDK installed on your computer.

Procognition/Java-Training


Java Runtime Environment(JRE) 

JDK and JRE are part and parcel of each other. Installing JRE in your system will help you to run the Java program but then you cannot compile it. Applets support, browser plugins, JVM is present in the JRE. Only JRE is required to run a Java program on your computer.

There are lots of Java training in Pune to make you a professional in this field.

Procognition/Java-Training


Main Features of JAVA Java is a platform independent language ď ľ

Source code (.java file) is converted into bytecode (.class file) by compiler(javac). The compiler generated bytecode is executed by JVM. There are various platforms like Linux, Windows, Mac OS that actually supports this bytecode. There is no limitation for running this Java programming language. All the JVM of each operating system is different the bytecode execution is always the same in all the systems.

Procognition/Java-Training


Java is an Object Oriented language ď ľ

A unique way of organizing programs like an object collection which actually represent an instance of a class is termed as Object Oriented Programming.

Procognition/Java-Training


4 IMPORTANT CONCEPTS OF OBJECT ORIENTED PROGRAMMING ARE: 1.

Abstraction

2.

Encapsulation

3.

Inheritance

4.

Polymorphism

Procognition/Java-Training


Advantages of Java language

Simple

Robust

Distributed

Secure

Portable

Multi-threaded

There are lots of best Java classes in Nagpur to let you understand about the basics of Java.

You can also visit: Telecome training for begginer!

Procognition/Java-Training


THANK YOU...

Procognition/Java-Training


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.