INTRODUCTION TO JAVA
- SHASHANK GUNDA
- Apr 8, 2023
- 1 min read
Updated: May 1, 2023
WHAT IS JAVA?
Java is a high-level and object-oriented programming language developed by Sun Microsystems in the mid-1990s, Later it was acquired by Oracle Corporation.
Java is widely used to develop a wide range of applications that includes
Web Applications
Mobile Applications
Embedded Systems
Desktop Applications
Games
Java is considered both compiled and interpreted language. Well, java is also not fully object-oriented. Why is it not fully object-oriented? , we will know in the upcoming blogs.
Do you know? The first name of Java is "Oak", Given by James Gosling. Later, in 1995, the name was changed to Java due to legal issues.
WHY JAVA?
There are several reasons to choose Java in today's world. That might be
Wide range of applications
Platform Independent
Large and Active Community
Security
The large scale of APIs and libraries
to choose Java.
Ufff... Are you bored with Theory? Let's try something practical how to write a Java program
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
The Structure of the Java program is simple, everything is written in the class, and the above example shows the same main method and statements written in the class HelloWorld.
Being clear is fine, we will learn everything in the flow if confused.
Note: Java is case-sensitive. HelloWorld and helloworld have different meanings, and the Class name and Java file name should be the same.


Comments