Java Coding Language

Java is a programming language. initially, Sun Microsystems introduced Java programming language in 1995. Modern technology -independent language for programming property appliances originally this language was recognized as “Oak,” immediately after a handful of years the language was renamed “Java” in 1995. Soon after 1994, this Java language was employed for worldwide internet applications. It has grown from its modest origins to energy a substantial portion of the digital globe of today by supplying a strong foundation upon which many services and applications are created.

Terminology of Java Programming
Class: A set of information methods and operations for processing information

Process: A set of statements in a class that perform a particular activity

Attribute: An attribute is an instance of a class

Interface: Interface is a skeleton class

Package: A set of classes and programming related codes

Bytecodes: it is a set of codes that look like a machine code

Virtual Machine: This is the environment in which the Java programs run. This has the responsibility to execute java byte code.

A Easy Java Hello Globe Program

public class Demo
public static void main(String args[])

Program.out.println(“Hello World !”)

Java Comments
Comments can be applied to explain and enhance the readability of Java code. It is also used to prevent block execution when testing option code.

There are two sorts of comments in Java,

Single line comments – //
Delimited comments – /* */
OOP Idea in Java Programming
Java is an Object Oriented Programming (OOP) language. In Java, every little thing is Object-oriented. When we will need to run a plan. we have to use a class to implement the plan. ( even a simplest system demands to be written applying a class ).

Public class Hello

// This is the Hello class

Java public class want to be saved in a file name that matches to the class name


Java program has a main class and a primary method. Java codes begin executing at the main strategy. This major technique is a single of the procedures in the most important class.

public static void major( String args[])
//This is the principal method

Java Application Forms
Primarily Java programming can be utilized to develop four distinct types of applications. they are,

Web application: A internet application is a system that executes on the server and generates dynamic pages. At present, Java net applications are made working with technologies like Servlet, JSP, Struts, Spring, Hibernate, and JSF.

Standalone application: Desktop apps and window-primarily based applications are other names for standalone applications. These are traditional applications that will have to be installed on each and every laptop. Media players and antivirus computer software are a handful of examples of independent programs. Java makes it possible for for the improvement of standalone apps making use of AWT and Swing.

Mobile application: A mobile application is an application designed especially for mobile devices. At present, mobile applications are produced with Java ME and Android.

Enterprise application: An enterprise application is a distributed application, like a banking application or a further kind. High-level security, load balancing, and clustering are some of their added benefits. EJB is a Java tool for constructing enterprise applications.

Java is a mature language in programming. as a result Java is nonetheless utilized in numerous modern systems and digital solutions.