DEV Community

Abinaya V
Abinaya V

Posted on

Introduction to Java

Java is a high-level, object-oriented, platform-independent programming language developed by Sun Microsystems in 1995 (now owned by Oracle Corporation).

The founder (creator) of Java is James Gosling.

Originally, Java was called Oak, and it was designed for electronic devices. Later it was renamed Java and became popular for web, mobile, and enterprise applications.

Compiler
A compiler is a software program that converts the source code written by a programmer into machine language (binary code) so that the computer can understand and execute it.

Simple meaning:
Compiler = A translator that changes human-written code → computer-understandable code

There are two types of Translation

Compiler Translation:

 Compiler Translation means converting a program written in a high-level programming language into a language that a computer can understand.
Enter fullscreen mode Exit fullscreen mode

Interpreter Translation :

 An Interpreter is a program that reads and executes code line by line without converting the whole program at once.
Enter fullscreen mode Exit fullscreen mode

In java we use Interpreter Translation line bye line execution.

Top comments (0)