[go: up one dir, main page]

0% found this document useful (0 votes)
4 views3 pages

Java_Notes

The document provides an overview of Java, highlighting its platform independence, object-oriented programming features, and portability through WORA (Write Once, Run Anywhere). It explains the Java program compilation process to bytecode, the role of the Java Virtual Machine (JVM), and the distinction between Java Runtime Environment (JRE) and Java Development Kit (JDK). Additionally, it lists various Java tools and topics such as Java collections, Spring Boot, and interview questions.

Uploaded by

vimalkmr550
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Java_Notes

The document provides an overview of Java, highlighting its platform independence, object-oriented programming features, and portability through WORA (Write Once, Run Anywhere). It explains the Java program compilation process to bytecode, the role of the Java Virtual Machine (JVM), and the distinction between Java Runtime Environment (JRE) and Java Development Kit (JDK). Additionally, it lists various Java tools and topics such as Java collections, Spring Boot, and interview questions.

Uploaded by

vimalkmr550
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Java Notes

Java:

1. Platform independent

2. oops

3. portability → WORA

Java program → Compiler → bytecode → JVM →machine code → Computer →


Output
Service.java → compiler converts to byte code as Service.class →

JVM- Java virtual machine

Java Notes 1
Java program → Compiler → bytecode → JVM →machine code → Computer →
Output

1. Abstract machine → no physical machine

2. Platform dependent is JVM like mac, windows . Java program →


independent

3. it has JIT(Just in time) Compiler → does the byte code to machine code.

what JVM does ability to convert the byte code to machine code.

Loads code

Verifies code

Executes code

Provides runtime environment

JRE - Java runtime env


1. Contains the JVM + class libraries

a. class libraries like java.lang.Math , java.util.Array

2. JVM uses class path libraries that’s in the JRE

3. Only with JRE we can run any java program. but CAN NOT CODE

4. with JRE can we run any byte code.

JDK: Java development kit:


1. Compiler is present in JDK ie. javac MyProgram.java

2. Debugger.

3. programming.

Tools:

Java Notes 2
interpreter/loader (java)
a compiler (javac)

an archiver (jar),
a documentation generator (Javadoc)

JVM Architecture

Java String

HashMap Implementation

Java 8

JAVA CLI Commands

Miscellaneous interview questions

Spring Boot

Java Threads

Java collections

Spring security

OAuth

1. Static & instance variable

2. streams group by

3. webservice & microservice

4.

Java Notes 3

You might also like