001 - Introduction To Java
001 - Introduction To Java
What is Java?
Why Java?
Download, Install and Setup
Java Terminology- JDK, JRE, JVM
First Java Program
Java Environment – Java Compiler, Class
Loader, Bytecode Verifier, Java Virtual
Machine
Points to remember
High level programming language
Simple
Small language and large libraries
Object Oriented
Supports Abstraction, Encapsulation, Inheritance, Polymorphism etc.
Secure
No memory pointers, program run inside virtual machine
Java Bytecode verification
Array Index limit checking
Signed Applets
Portable
Primitive data type size and their arithmetic behavior are specified by
the language.
Libraries define portable interfaces
Multithreaded
Easy to create and use
Distributed
Libraries for network programming
Remote method invocation
Dynamic
Finding runtime type information is easy.
The linking of data and methods to where they are located, is done at
run-time.
New classes can be loaded while a program is running. Linking is done
on the fly.
Whatdo you need to write and run java
program?
Java Development Kit (JDK)
A Text Editor
Download latest version of JDK (java
development kit) from
http://www.oracle.com/technetwork/java/javase
/downloads/index.html
and install.
30
Java Compiler, JVM .. All are platform
dependent.
Only java class file (Bytecode) is platform
independent.