Curriculum
Java is a widely-used programming language in the computer world. Java is a class-based object-oriented programming language. Java is platform-independent language as it has a Java runtime environment, thus eliminating the need for recompilation.
Java is a Simple, Robust, Portable, Platform-independent, Secured, High Performance, Multithreaded, Architecture Neutral, Object-Oriented, Interpreted, and Dynamic programming language.
Some basic concepts of Java are:
Java was first developed in the year 1995 by James Gosling at Sun Microsystems as a core component of Sun Microsystems’ Java platform (Java 1.0). Java was originally designed for interactive television. As it was too advanced in that time, Java shifted its way into the programming world.
It was previously named as Greentalk and Oak and was later changed into Java for its uniqueness. In 2007, Sun Microsystems relicensed most of its Java technologies under the GNU proprietary license. In 2010, Oracle acquired Sun Microsystems, from then oracle issues two type of services, one- an open source free JDK for developers and a commercial license for large scale productions.
Java can be used to build the following applications
Java is everywhere. Any large application has its credit to Java.
In this program you will learn about writing a simple program in Java.
Hello, World!.
public class Main { public static void main(String[] args) { System.out.println("hello, world"); } }
Note: The name of the class and the file name should be same. If the class name is ‘HelloWorld’ save the file as ‘Helloworld.java’.