Monday 3 September 2018

Introduction to Java (Part -2)




Question - History Of Java?

Answer -  
  • JAVA Developer Team (Team member or group) also known as Green Team.
  • Java Old name is OAK  ( based on Oak Tree).
  • Java Developed by James Gosling. (Team of James Gosling) 
  • By Sun Micro Systems but now acquired by Oracle.
Question - Versions of Java?

Answers -
  • JDK Alpha and Beta (1995 - for Sun Micro System use)
  • JDK 1.0  (in 1996 - Public use)
  • JDK 1.1 
  • J2SE 1.2 
  • J2SE 1.3 
  • J2SE 1.4 
  • J2SE 5.0 
  • Java SE 6 
  • Java SE 7 
  • Java SE 8 (We are going to study this + new fetures of other newer versions)
  • Java SE 9
  • Java SE 10 (Currently we use)

Question - What is JAVA?

Answer - Java Program is a collection of one or more classes, with one of them containing the program's executing starting point [ main() is the execution start point ].


Question - What is JDK, JRE and JVM?

Answer -  

JDK -  stands for JAVA DEVELOPMENT KIT
    • As a developer, you have to write the code, compile it and run it.
    • For writing code - you need pre-defined class (called API) 
    • For Compiling the code - you need Compiler
    • For Run the code you need JVM (It is also called Java Interpreter)
    • JDK is defined as a bundle of software that you can use to develop Java based application.

  • JRE -   stands for JAVA RUNTIME ENVIRONMENT
    • JRE provides the minimum requirements for execution of the Java program 
    • JRE is a part of JDK
    • Inside JRE = JVM + Other run time libraries.

  • JVM -  stands for JAVA VIRTUAL MACHINE
    • It helps to convert BYTE CODE into MACHINE CODE.
    • It is OS Dependent.
    • JVM also Know as JAVA INTERPRETER.





[Short Video --- About JDK, JRE and JVM ]




[Detailed Video - About JDK, JRE and JVM ]



Some more Links ---
Go here to read more --  (edureka links)


No comments:

Post a Comment