DEV Community

Sathish K
Sathish K

Posted on • Edited on

Java Introduction

What is Java ?
Java is a high-level programming language.
Java is a (oops) object-oriented programming language.
Java is a open source platform.
And platform independence that power of billion devices and application worldwide from enterprise software to mobile apps.
Its original name is a Oak in 1992.
The team at Sun Microsystems that developed the language.

**Syntax:**
public static void main(String[]args){

}
Enter fullscreen mode Exit fullscreen mode

Who is the father of Java program ?
James Gosling is the father of Java programm in 1995.

What is a Platform independent ?

Platform independent in java means a program can be run in any operating system (OS) (likes windows,linux,macOS) without needing to be changed or recompiler.

What is the compiler ?
In Java, a compiler is a program that translates human-readable Java source code into platform-independent Java bytecode.

What is the bytecode ?

Bytecode in Java is an intermediate, low-level code generated by the Java compiler (javac) when it compiles a Java source file (with a .java extension). This compiled code is stored in files with a .class extension.

What is interpreter ?
The interpreter reads and executes the bytecode instructions line by line, translating them into machine-specific instructions that the underlying operating system and hardware can understand and execute. This happens dynamically at runtime.

Top comments (0)