Friday, August 16, 2019

Java


Java Introduction

java-oracle-logo, java, java introduction
Java is an open-source API (application programming interface) provided by the Oracle Corporation(currently) and its free API, anyone can use for the development of the business application/software.

Java is an Object-Oriented programming language, which is executed by a machine to reduce the burden of a user or human being by performing the operations faster without any mistakes.
It is machine-independent programming, we can run java application on any machine with the help of java virtual machine(JVM).
Program: A program is a set of instructions.
Software:  It is a set of programs, which can perform multiple tasks.

Software classified into two types:

1. System software

The software is designed to interact or communicate with the hardware device and make them work is called system software. This software is generally developed in a language like c, c++, etc.
Example: Operation System, driver, compiler, etc.

2. Application software

The software which is designed to store data, provide entertainment, do business, generate reports, etc. are called as application software. This software generally developed in a language like java, .net, python, etc.
The Application software’s are further classified into two types.

I. Standalone software:  

The software which can execute in the context of a single machine(computer) is called as standalone software.
Example: MS-Word, media player, etc.

II. Web-based software: 

The software which can be executed on any a machine in the context of browser is called as a web-based software.
Example:  Gmail, Facebook, etc.

Java History

James Gosling, Mike Sheridan, and Patrick Naughton started the first java project in 1991 for the Digital Cable Television Industry. Java is an object-Oriented, multi-purpose, cross-platform programming language. Java versions are provided in the form of Java development tools (JDK) it's completely free(Open Source).
The java language is released by Sun Microsystem in the year 1995 in three editions.

  1. JSE(java standard edition): This edition can use for developing standalone software.
  2. JEE(java enterprise edition): This edition can use for web-based application/software.
  3. JME(java mobile edition): This edition used for developing an application for mobile devices, wireless devices, embedded controllers, etc. where memory is limited.

Java Coding Example

package in.blogspot.scholars.java;

public class JavaCodeExample
{
public static void main(String[] args)
{

System.out.println("hello java programming language”);
}
}

0 comments:

Post a Comment