innJava training institutes in Kukatpally

JAVA PROGRAMMING LANGUAGE

Java is simple and powerful language. It is similar to C++ in many aspects. Java is invented by James Gosling at Sun Microsystems. It was developed to provide platform-independent programming language. Java training institutes in Kukatpally.

PLATFORM INDEPENDENT

Unlike other programming languages including C and C++. Instead into platform independent byte code. This byte code is distributed over web. It is interpreted by virtual Machine on whatever platform it is run.  Java training institutes in Kukatpally.

JAVA VIRTUAL MACHINE

 JVM plays important role. The environment in which Java programs execute is JVM. It is software that implemented on operating system. The JVM executes these bytecodes. Java training institutes in KPHB.

OBJECT ORIENTED PROGRAMMING

Object Oriented Programming is method of implementation, in which programs are organized. Each of which represents instance of class. Those classes are all members of classes united via inheritance relationships. Java training in Kukatpally.

OOP’s  Concepts

Four principles of Object Oriented Programming are

Abstraction

Hiding internal details and showing functionality is abstraction.
Abstract classes and interface help to achieve polymorphism.

Encapsulation

Wrapping of data members and member functions together in class is encapsulation.
Java class is example of encapsulation. Java bean fully encapsulated class because all data members are private here.

Inheritance

Deriving new class from existing class is inheritance. Here all the super class properties comes into sub class. Existing class is super class. New class is child class. It provides code re-usability and used to achieve runtime polymorphism. Java training institutes in KPHB.

Polymorphism

Performing one task in different ways is polymorphism.
In java, we use method overloading and method overriding to achieve polymorphism.

Java has powerful features. The following are some of them:-

JAVA IS DISTRIBUTED

We can create distributed applications in java. RMI and EJB create applications. We may access files by calling the methods from any machine on internet.

JAVA IS MULTITHREADED

A thread is separate path of execution. It is process of executing multiple threads simultaneously. We can write Java programs that deal with many tasks at once by defining multiple threads. The advantage of multi-threading is it does not occupy memory for each thread. It shares common memory area. Threads are important for multi-media, Web applications etc. Java training institutes in Kukatpally.

JAVA IS SECURE

It designed to allow secure execution of code. This is secured by removing many of features of C and C++. It does not use Pointers. Java programs cannot access arbitrary addresses in memory.

Leave a comment