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
[Link]
Win JVM Linux JVM Mac JVM
Linux
Win Mac
- Santosh Katti, Department of Computer Applications, PESU
JEAD
JDK, JVM, JRE
[Link]
Win JVM Linux JVM Mac JVM
[Link]
Mac
Win Linux
- Santosh Katti, Department of Computer Applications, PESU