ankitweblogic logo
W e b t u t o r i a l s

Core Java Tutorial

Define Java

C vs C++ vs Java

Java Virtual Machine

Set Java Path

Java Tokens

Reserved Keywords

Identifiers

Literals

Operators

Operator Precedence

Escape Sequences

Define Java

Java is an High-Level, Object Oriented Programming Language developed by James Gosling, at "Sun Microsystems" of USA in June 1995. Java was designed for the development of the software in various consumer electronic devices such as set-top box, toasters, microwave ovens, remote controls and such other electronic machine. The main objective of Java is to build platform independent programs.

Features of Java

1. Simple: Java is designed to be easy to learn. The syntax of java has been kept nearer to C-Language so that the usage of java does not require extensive training programs to be undertaken.

2. Object Oriented: Java is pure object oriented language. Java uses Object oriented concept for software design.

3. Robust: The multi-platform environment of the web places high demand on the reliability of the program to execute on a variety of system. Thus, high priority has been given to create robust and highly reliable programs in the design of java.

4. Secure: java is designed to be used in networked and distributed environments where security is very important. Hence java is designed virus-free, tamper-free and secured.

5. Portable: Java programs can be easily moved from one computer system to another. Java compiler generates byte code instructions which are not dependent upon particular computer architecture. Thus, the java programs are same on any platform.

6. Multi-Threading: Multithreading means handling multiple tasks simultaneously. Java supports multithreaded programs means that we need not wait for the application to finish one task before beginning another.

7. Platform Independent: The concept of write once run anywhere known as platform independent. It is one of the important key features of java language that makes java as the most powerful language. The programs written on one platform can run on different CPU and on different operating system architectures but must have JVM.

8. Dynamic: Java is a dynamic language. Java is capable of dynamically linking in new class libraries, methods and objects.

9. Compiled and Interpreted: Usually a computer language is compiled or interpreted. Java combine both these approaches, first java compiler translate source code into byte code instructions, in the second stage java interpreter convert byte code into machine code that can be executed by the machine that is running the java program. Thus, we can say that java is both compiled and interpreted.

10. JDBC RowSet: Java supports JDBC RowSet to send data in a tabular format between the remote components of a distributed enterprise application.

Updated: 24-Jan-19