top of page
This website was created by Contagious

INTRODUCTION TO JAVA

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.







Related Posts

See All
OBJECTS, INHERITANCE, AND INTERFACE

We already studied what is Class and Packages. Now we will get to know about Object inheritance and interface the major concept of OOP(...

 
 
 
CLASS AND PACKAGES IN JAVA

Remember, Java is an object-oriented programming language, which means everything is associated with a class and object, and the program...

 
 
 

Comments


bottom of page