JAVA TRAINING
PRESENTEATION
4
Team Check-in and Icebreaker
Summary and Action Items
>
>
>
>
>
what is java?
where java used?
java platforms /
editions
feature of java.
java virtual machine
java architecture.
why java is platform
independent?
what is oop.
concept of oop.
Data types in java.
CONTENTS
java is a high level objects oriented programming
language as well as platform.
1
3
2
java was developed by a team led by James gosling at sun
microsystems and released in 1995.
java runs on a variety of platforms such as windows,
mac os, and the various version of UNIX.
WHAT IS JAVA?
According to sun, 3 billion
devices run java . there are
many devices where java is
currently used. some of them
are as follows:
1
5
3
2
4
Desktop applications such as acrobat reader , media player, antivirus, etc.
Smart cards , robotics ,games, etc.
Web applications such as Irctc, javapoint.com ,linkedin
, etc.
Mobile, Embedded system.
Enterprise application such as banking
applications.
WHERE JAVA USED?
Java EE
(Java
Enterpris
e
editions)
Java ME
(Java micro
edition)
Java SEO(java
standard
editions
javafx
JAVA
PLATFORMS/EDITIONS
Java
OBJECT ORIENTED
SIMPLE
PLATFORM INDEPENDEN T
ROBUST
ARCHITECTURAL NETURAL
PORTABLE
SECURED
INTERPRETEND
MULTITHREADED
DYNAMIC
FEACTURES OF JAVA
JVM (java virtual machine) is an abstract machine .It is
a specification that provides runtime environment in which
java bytecode can be executed.
JVMs are available for many hardware and software
platforms . (i.e. JVM is platform dependent)
>JVM performs following operation:
.Loads code
.verifies code
.Execute cod
.Provides run time environment
JVM
Native
method interface
runtime data areas
Class loader
sub system
Method
area
Java
stacks
Heap PC
Registers
Native
method stacks
Execution
Engine
Native method
library
JAVA ARCHITECTURE
Class Simple
{
public static void main (string arg [])
{
system.out.printIn("Hello Java");
}
}
// To compile this code in cmd:
javac <filename>. java
//To run this code :
Java <classname>
JAVA EXAMPLE
Java code (.java)
Linux
JAVAC
COMPILER
Byte Code (.class)
JVM JVM JVM
Windows Mac
WHY JAVA IS PLATFORM INDEPENDENT?
OOP stands for Object-
Oriented Programming.
Procedural programming is
about writing procedures or
methods that perform
operations on the data, while
object-oriented programming
is about creating objects that
contain both data and
methods.
WHAT IS OOP
oops (object - oriented programming system)
Object
Class
Inheritance
Polymorphism
Abstraction
Encapsulation
OOP'S CONCEPT
Data type
Primitive Non-primitive
Boolean Numeric
Character Intergral
Interger Floating-point
byte short int long float double
boolean Char
String
Array
Etc.
DATA TYPES IN JAVA
Variable is a name of
memory location. There are
three types of variables in
java: local, instance and
static. There are two types
of data types in Java: ...
JAVA VARIABLES
java is simple language.
java does not support pointers.
java is the first language in which
program can be executed using web.
write once run anywhere.
ADVANTAGES OF JAVA
THANKYOU

javacourse in c.pdf

  • 1.
  • 2.
    4 Team Check-in andIcebreaker Summary and Action Items > > > > > what is java? where java used? java platforms / editions feature of java. java virtual machine java architecture. why java is platform independent? what is oop. concept of oop. Data types in java. CONTENTS
  • 3.
    java is ahigh level objects oriented programming language as well as platform. 1 3 2 java was developed by a team led by James gosling at sun microsystems and released in 1995. java runs on a variety of platforms such as windows, mac os, and the various version of UNIX. WHAT IS JAVA?
  • 4.
    According to sun,3 billion devices run java . there are many devices where java is currently used. some of them are as follows: 1 5 3 2 4 Desktop applications such as acrobat reader , media player, antivirus, etc. Smart cards , robotics ,games, etc. Web applications such as Irctc, javapoint.com ,linkedin , etc. Mobile, Embedded system. Enterprise application such as banking applications. WHERE JAVA USED?
  • 5.
    Java EE (Java Enterpris e editions) Java ME (Javamicro edition) Java SEO(java standard editions javafx JAVA PLATFORMS/EDITIONS Java
  • 6.
    OBJECT ORIENTED SIMPLE PLATFORM INDEPENDENT ROBUST ARCHITECTURAL NETURAL PORTABLE SECURED INTERPRETEND MULTITHREADED DYNAMIC FEACTURES OF JAVA
  • 7.
    JVM (java virtualmachine) is an abstract machine .It is a specification that provides runtime environment in which java bytecode can be executed. JVMs are available for many hardware and software platforms . (i.e. JVM is platform dependent) >JVM performs following operation: .Loads code .verifies code .Execute cod .Provides run time environment JVM
  • 8.
    Native method interface runtime dataareas Class loader sub system Method area Java stacks Heap PC Registers Native method stacks Execution Engine Native method library JAVA ARCHITECTURE
  • 9.
    Class Simple { public staticvoid main (string arg []) { system.out.printIn("Hello Java"); } } // To compile this code in cmd: javac <filename>. java //To run this code : Java <classname> JAVA EXAMPLE
  • 10.
    Java code (.java) Linux JAVAC COMPILER ByteCode (.class) JVM JVM JVM Windows Mac WHY JAVA IS PLATFORM INDEPENDENT?
  • 11.
    OOP stands forObject- Oriented Programming. Procedural programming is about writing procedures or methods that perform operations on the data, while object-oriented programming is about creating objects that contain both data and methods. WHAT IS OOP
  • 12.
    oops (object -oriented programming system) Object Class Inheritance Polymorphism Abstraction Encapsulation OOP'S CONCEPT
  • 13.
    Data type Primitive Non-primitive BooleanNumeric Character Intergral Interger Floating-point byte short int long float double boolean Char String Array Etc. DATA TYPES IN JAVA
  • 14.
    Variable is aname of memory location. There are three types of variables in java: local, instance and static. There are two types of data types in Java: ... JAVA VARIABLES
  • 15.
    java is simplelanguage. java does not support pointers. java is the first language in which program can be executed using web. write once run anywhere. ADVANTAGES OF JAVA
  • 16.