First Java Program

c programming

    First Java Program The first program that most Java developers learn to write is typically a “Hello, World!” …

Read more

Java Program Structure

c programming
Java Program Structure

Documentation Section

Package Statement

Import Statements

Interface Statements

Class Definitions

Main method class

{  

           Main method class

}

1. Documentation Section

  • It includes basic information about Java program.
  • The information includes the author’s name, data of creation, version, program name, compony name, and description name of the program.
  • To write the statements in decompensation,

we use comments

         The comments may be
 
 
1. single-line comments:-
 
                           // First Java Program
 
2. multi-line comments
It starts with a   /* and ends, with */   we write between these two symbols.
 
ex :-
          /* It is an example of 
               multiline comment */

Features of Java

c programming

Features of Java  The primary objective of Java programming language creation was to make it a Portable, Simple, and Secure …

Read more

History of Java

c programming

History of Java – Java is a popular programming language that was first released in 1995 by Sun Microsystems. The …

Read more

Java Tutorial

c programming

Java Tutorial – Java is a popular programming language used for developing  colorful types of  operations. If you’re interested in …

Read more