Breaking News

WHAT IS JAVA ?

Tag named " What is Java " in front of a laptop and books on a table


JAVA

  • The definition of JAVA is simply defined as:- "A programming language that is used for developing software and delivering content on the web."
  • It is similar to C/C++.
  • It is represented by .java extension for the compilation.
  • The source code files are compiled into a format called bytecode, which can then be executed by JAVA Interpreter. 
  • There are more than 9 million JAVA developers worldwide and more then 3 million mobile phones run JAVA.
  • The latest version of JAVA was launched in 2014 having name "JAVA SE 8".
  • Oracle acquired Sun Microsystems in January, 2010. Therefore, Java is now maintained and distributed by Oracle.
  •  Java is also known for being more strict than C++, meaning variables and functions must be explicitly defined.
  • It is clearly mean that java source code may produce errors or "exceptions" more easily than other languages.
  • But it also limits other types of errors that may be caused by undefined variables or unassigned types.
  • Basically, Java is:- object oriented, robust, platform independent, secure, simple, portable, interpreted, distributed, dynamic, high performance and multithreaded.

Illustration

  1. class Simple{
  2. public static void main(String args[]){
  3. System.out.println("Hello Java");
  4. }
  5. }

Application


  • MOBILE APPLICATION:- The reason for Java being the language for android development is that android applications use Dalvik Virtual Machines

  • DESKTOP GUI APPLICATION:- GUI such as window panes, toolbars to create fluid and responsive interfaces for the users.

  • WEB BASED APPLICATION:- Java has inbuilt packages such as Servlets,Struts and JSPs. These packages are easy to code in and grasp at the same time.

  • ENTERPRISE APPLICATION:- Java Enterprise Edition is a very popular platform that provides API and runtime environment for scripting.

  • SCIENTIFIC APPLICATION:- These programs are designed to be highly secure and lighting fast. they support a higher degree of portability and offer low maintenance.

  • GAMING APPLICATION:- It has the unparalleled capability when it comes to the designing of 3D games.

  • BIG DATA TECHNOLOGIES:- It is crystal clear that Java is the backbone when it comes to developing big data using java.

  • BUSINESS APPLICATION:- These applications are designed to solve the problems encountered by large enterprises.

  • DISTRIBUTED APPLICATION:- One integral part of Jini is JavaSpaces, a mechanism that supports distribution, persistence, and migration of objects in a network.

  • CLOUD-BASED APPLICATION:-  Java provides you with features that can help you build applications meaning that it can be used in the SaaS, IaaS and PaaS development.


Example :

Java Programme for A Simple Calculator :


package calculator;

public class Calculation {
	int result;
	//Method for addition
	public int add(int num1, int num2){
		result = num1+num2;
		return result;
	}
	//Method for subtraction
	public int substract(int num1, int num2){
		result = num1-num2;
		return result;
	}
	//Method for multiplication
	public int multiply(int num1, int num2){
		result = num1*num2;
		return result;
	}
	//Method for division
	public float divide(int num1, int num2){
		result = num1/num2;
		return result;
	}
	
}


So this is it guys if you want us to write more on this topic or have any particular query regarding this post you can always comment or feel free to mail us at our official mail also follow us on Instagram and Facebook to receive Latest Updates first.

PEACE!!!

No comments

If you have any doubts, please let us Know.