Java Introduction and basic Syntax

Java is an open-source object-oriented programming language. Java was originally developed by Sun Microsystems in 1995. Java is supported by various platforms, such as Windows, Mac, Linux, etc.

Java is an object-oriented language because everything depends on objects. But, Java is not 100% object-oriented because of primitive data types int, char, float, etc. as they are not object-oriented. The primitive data types are faster than objects, and to achieve faster execution of Java programs, they kept the primitive data types as it is !

Java helps us create robust, large, high-performance, and scalable applications.

James Gosling is the creator of Java. Java was initially called Oak. James Gosling and his team changed the name from Oak to Java.

Oracle Corporation acquired by Sun Microsystems in 2009 and took complete ownership of Java.

Java is platform independent because the Java compiler converts the source code to bytecode, which is an intermediate language called bytecode, which can be executed on any platform or operating system.

The Bytecode(machine language) gets generated in the form of .class file as soon as the Java program gets compiled. Bytecode is an instruction for the JVM to covert it into machine language. Bytecode allows Java to be written once and run anywhere (WORA).

At the current moment, 3 billion devices are running Java.

Usage of Java: 

  1. Desktop Applications
  2. Web Applications
  3. Enterprise Applications
  4. Mobile Applications
  5. Robotics
  6. Big data
  7. Frameworks


Four editions of Java:

1) Java SE (Java Platform, Standard Edition)
It is the standard edition which contains all the core functionality that needs to be supported by any programming language. Class, interface, abstraction, inheritance, encapsulation, polymorphism, String, exception handling, multithreading, I/O Stream, AWT, Collection, and so on are all examples of concepts.

2) Enterprise Edition Java Platform (Java EE)
It is a platform edition that helps us create various web applications It is developed on top of the Standard Edition. e.g. servlet, JSP, Web Services, EJB, JPA, Struts, Spring, etc.

3) Java ME (Java Platform, Micro Edition)
It is a platform edition used to create mobile applications.

4) JavaFX
It is a platform edition to develop desktop applications and Rich Internet Applications(RIA). Applications can run on a variety of platforms, including desktop, mobile, and web.

Imran Khan

Specialist Master (Architect) with a passion for cutting-edge technologies like AEM (Adobe Experience Manager) and a proven track record of delivering high-quality software solutions.

  • Languages: Java, Python
  • Frameworks: J2EE, Spring, Struts 2.0, Hibernate
  • Web Technologies: React, HTML, CSS
  • Analytics: Adobe Analytics
  • Tools & Technologies: IntelliJ, JIRA

🌐 LinkedIn

📝 Blogs

📧 Imran Khan