What is java

Java is a platform and a programming language which gives a clear structure to programs and allows code to be reused, lowering development costs.created in 1995.

Java is a general-purpose, High Level, class-based, secure object-oriented programming language designed for low implementation. It is a computing platform for App (application) development.

The Java platform is a collection of programs that helps programmers to design and run Java programming applications Proficiency. It consists of a set of libraries, an execution engine, and the compiler. This is a collections of computer software and specifications.

what is java

Why Use Java

  • Java works on various platforms like Windows, Linux, Mac, etc.
  • Java is one of the most famous programming languages at the world.
  • It is Convenient to learn and Simple to use.
  • Java is open-source and free of cost.
  • It is fast, secure and powerful programming language.
  • It has a large community support (millions of developers).
  • As Java is closer to C ++ and C #, this makes it easier for programmers to switch to Java or vice versa.

Types of Java Applications

Mostly there are four (4) types of applications which can be created using Java programming language :

  1. Standalone Application : Standalone application's are also called as window-based applications or desktop applications. These are traditional software that we have to install on every machine. Examples of Prove oneself applications are media player, anti-virus etc. AWT and Swing are used in Java to build standalone applications.
  2. Web Application : An application that runs on behalf of the server and builds a dynamic page called a web application. Currently, servlet, JSP, struts, hibernate, spring, JSF, etc. technologies are used to develop web applications in Java.
  3. Enterprise Application : An application which is distributed in nature (like banking applications) is called enterprise application. This has the Benefits of high-level security, load balancing and clustering. In Java, EJB is used to build enterprise applications.
  4. Mobile Application : An application that is made for mobile devices is called a mobile application. Currently, Java ME are used to develop mobile applications.

Types of Java Platforms

There are four different types of Java platforms:

  1. Java Standard Edition (Java SE) : It is a Java programming platform that contains Java programming APIs such as java.lang, java.util, java.net, java.io, java.sql, java.math etc. It includes core topics like OOPs, Swing, Reflection, string, regex, exception, inner class, multithreading. I/O Stream, Networking, AWT, Collection, and more. Java SE's API gives the core functionality of the Java programming language. It defines all the bases of the type and object for higher-level classes. Java Standard Edition is used for networking, database access, security, development of graphical user interface (GUI) and XML parsing.
  2. Java Enterprise Edition (Java EE) : It is an enterprise platform primarily used to develop web and enterprise applications. It is inbuilt and top of Java SE platform. It associates topics like JSP, Servlet, Web Services, EJB, JPA etc. The Java EE platform offers an API and runtime environment for building and running highly calculable, multi-tiered, authentic and secure network applications.
  3. Java Micro Edition (Java ME) : This is a micro platform that mostly used for developing a mobile applications. The Java ME platform gives an API and a little footprint virtual machine that runs Java applications on micro devices such as mobile phones.
  4. Java FX : Java FX is a platform for creating rich Internet applications using light weight user-interface APIs. This user is a hardware-accelerated graphics and media engine that helps Java leverage high-performance customers and modern look and high-level APIs to connect to the network's data sources.

Features of Java

  1. Object Oriented − In The Java, everything are an object. Java can be extended easily because this is based on object model.
  2. Platform Independent − Unlike many other programming languages ( like C and C ++) when Java is compiled, java isn't compiled in a platform specific machine, but in platform independent byte code. These byte code is distributed over the web and interpreted by whatever platform the(JVM)  virtual machine is running on it.
  3. Simple − Java is made easy to learn. If you understand the fundamental concept of OOPs Java, it will be easy to Learn.
  4. Secure − With the secure feature of Java, it is capable of developing virus-free, tamper-free systems. The authentication technique is based on public key encryption.
  5. Architecture-neutral − The Java compiler created an architecture-neutral object file format that makes code compiled on multiple processors executable in the presence of a Java processor system.
  6. Portable − Makes Java portable by not relying on specification and implementation of architecture-neutral. Java's compiler is written in ANSI C with a clear portability limit.
  7. Robust − Java mainly tries to remove error prone conditions by emphasizing compile time error checking and runtime checking.
  8. Multithreaded − With this feature of Java it is possible to write programs that can perform multiple tasks at once. This design feature allows developers to Develop interactive applications that can run smoothly.
  9. Interpreted − Java byte code is translated on fly for local machine instructions and isn't stored anywhere.
  10. High Performance − With the use of the Just In Time compiler, Java enables high performance.
  11. Distributed − Java are designed for the distributed environment of Internet.
  12. Dynamic − Java is considered more dynamic than C or C ++ because it is adapted to an evolving environment. Java programs can use huge amounts of run-time information that can be used to verify and resolve access to objects at run-time.

Applications of java

There are many used as follows:

  • Desktop Applications for example media player, acrobat reader, antivirus, etc.
  • Web Applications
  • Mobile applications (especially Android apps)
  • Enterprise Applications such as banking applications.
  • Database connection
  • Smart Card
  • Robotics
  • Desktop applications
  • Web servers and application servers
  • Games
  • Embedded System


To learn Java, you must have basic knowledge of C / C ++ programming language.

History of Java

  • The Java language was initially called OAK. Originally, it was developed to handle portable devices and set-top boxes. Oak was a major failure.
  • Sun changed the name to "Java" and modified the language to take advantage of the revised www (World Wide Web) development business In 1995.
  • Later, in 2009, Oracle Corporation acquired Sun Microsystems and owned three major Sun software assets: Java, MySQL and Solar. 4