0% found this document useful (0 votes)
3 views

java_1

The document discusses the features of Java, highlighting its object-oriented nature, clean syntax, and platform independence through bytecode execution on the Java Virtual Machine (JVM). It emphasizes Java's robustness with features like automatic garbage collection, exception handling, and multithreading capabilities. Additionally, it covers the components of Java development, including the Java Development Kit (JDK), Java Runtime Environment (JRE), and JVM.

Uploaded by

Vaishnavi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

java_1

The document discusses the features of Java, highlighting its object-oriented nature, clean syntax, and platform independence through bytecode execution on the Java Virtual Machine (JVM). It emphasizes Java's robustness with features like automatic garbage collection, exception handling, and multithreading capabilities. Additionally, it covers the components of Java development, including the Java Development Kit (JDK), Java Runtime Environment (JRE), and JVM.

Uploaded by

Vaishnavi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

JEAD

About Java

Session-2

- Santosh Katti, Department of Computer Applications, PESU


JEAD
Features of Java

- Santosh Katti, Department of Computer Applications, PESU


JEAD
Features of Java

Java treats everything as an object. This paradigm helps in


designing modular and reusable code.

Java's syntax is clean and easy to learn – simple. It eliminates


complex features like pointers and multiple inheritance,
which can lead to errors.
Secure: It eliminates complex features like pointers and multiple
inheritance, which can lead to errors. It also lacks explicit pointer usage.

Java code is compiled into bytecode, which can run on any system with
a Java Virtual Machine (JVM). This "Write Once, Run Anywhere"
capability, makes it Platform Independent.
- Santosh Katti, Department of Computer Applications, PESU
JEAD
Features of Java

Java emphasizes early error checking and runtime checking.


Features like automatic garbage collection, exception
handling, and type checking in Java make it robust and
reliable.

Java's libraries are designed to be portable across various platforms.

Java compiler generates an architecture-neutral object file format,


making the compiled code executable on many processors

Dynamic: Java is designed to adapt to an evolving environment. It also


supports loading classes dynamically at runtime.

- Santosh Katti, Department of Computer Applications, PESU


JEAD
Features of Java

Java is interpreted because the Java bytecode is executed by


the Java Virtual Machine (JVM).

Java achieves high performance through the Just-In-Time (JIT)


compiler, which compiles bytecode into native machine code
at runtime. This allows the program to execute faster because the JVM
optimizes the compiled code, reducing the overhead of interpretation.

Java supports multithreading, which allows concurrent execution of two or


more threads (smallest units of a process).

Java is designed with a distributed environment in mind. It supports networking


capabilities through its extensive standard library.
- Santosh Katti, Department of Computer Applications, PESU
JEAD
JDK, JVM, JRE

Welcome.c Welcome.c Welcome.c

Linux
Win Mac

- Santosh Katti, Department of Computer Applications, PESU


JEAD
JDK, JVM, JRE

Welcome.c Welcome.c Welcome.c

Linux
Win Mac

- Santosh Katti, Department of Computer Applications, PESU


JEAD
JDK, JVM, JRE

Test.java

Win JVM Linux JVM Mac JVM

Linux
Win Mac

- Santosh Katti, Department of Computer Applications, PESU


JEAD
JDK, JVM, JRE

Test.java

Win JVM Linux JVM Mac JVM


Test.java

Mac
Win Linux

- Santosh Katti, Department of Computer Applications, PESU

You might also like