Presentation: 1. Bharat Shrichandani 2. Faraz Ahmed Ansari 3. Vinod Mohabe
Presentation: 1. Bharat Shrichandani 2. Faraz Ahmed Ansari 3. Vinod Mohabe
1. Bharat Shrichandani
2. Faraz Ahmed Ansari
3. Vinod Mohabe
Contents
Java Introduction
About Java Technology
Features of Java Technology
Java Development Kit
Types of Java Applications
Java Program Structure
Data-Types,Methods,Math-
fn,Operators,looping statements
ASP and JSP in Java
Various Database Tehnology
History Of Java
Java is a general purpose ,Object Oriented
language developed by Sun Microsystems of
USA in 1991.
• Orignally called the ‘Oak’ by James
Gosling One of the inventors of the
language
• It was designed for the development of
software for the consumer electronic
devices like TV, VCR, Mobiles etc.
About Java Technology
Java is purely and Object Oriented
Programming Language means everything is
java is in class and object.`
• Class:- A class is a group of object. That is
used for declaring the objects and instantiate
in the memory.
• Objects:- Objects are the basic runtime entity
in the object oriented progrmming. They may
represents a person, a place , a bank account
etc. Statement for
creating object
class bankaccount;
Features of Java Language
• Compiled and Interpreted
• Platform – Independent
• Portablity
• Object Oriented.
• Distributed.
• Multithreaded and Interactive.
• Robust and Secure.
• Support JDBC.
Types of java application
NETSCAPE MY SQL
NAVIGATIOR
Basic concepts of java
Java statements:-
A Statement is an
executable combination of tokens ending
With a semicolon mark(;).
Java Tokens
Expression Guarding
Labelled Synchronization
Control
Selection
Labelled
Java Program Structure
DOCUMENT SECTION
PACKAGE STATEMENT
OPTIONAL
IMPORT STATEMENT
STATEMTENT
INTERFACE STATEMENT
CLASS DEFINATION
PROCESS OF COMPILATION
MACHINE
BYTECODE JAVA
CODE(010)
INTERPRETER
PROCESS OF CONVERTING
BYTECODE INTO MACHINE CODE
Now open Dos and compile and
interpret the program.
History Of Java
Java is a general purpose ,Object Oriented
language developed by Sun Microsystems of
USA in 1991.
• Orignally called the ‘Oak’ by James
Gosling One of the inventors of the
language
• It was designed for the development of
software for the consumer electronic
devices like TV, VCR, Mobiles etc.
About Java Technology
Java is purely and Object Oriented
Programming Language means everything is
java is in class and object.`
• Class:- A class is a group of object. That is
used for declaring the objects and instantiate
in the memory.
• Objects:- Objects are the basic runtime entity
in the object oriented progrmming. They may
represents a person, a place , a bank account
etc. Statement for
creating object
class bankaccount;
Features of Java Language
PROCESS OF COMPILATION
MACHINE
BYTECODE JAVA
CODE(010)
INTERPRETER
PROCESS OF CONVERTING
BYTECODE INTO MACHINE CODE
Java Development Kit
The Java Development Kit contains the variety of tools that are
They include:-
• appletviewer(for viewing java applets)
• javac(java compiler)
•java(interpreter)
•Javap(java disassembler)
•Javah(for C header files)
•Javadoc(for creating HTML document)
•Jdb(java debugger)
Applets in Java
Applets are the small java programs that are
primarily used in internet computing. They can
be transported over one computer to another
and run using appletviewer or any other web
browser that support java.
An applet can do so many things for us. It can
perform arithmetic operations, display graphics,
play sounds, accept user input, create animation
and many more.
Statement for
creating applets
import java.awt.*;
import java.applet.*;