PRESENTATION ON
CORE JAVA BY
RAHUL PAL
CONTENT
• WHAT IS JAVA ?
• WHERE IS JAVA USED ?
• FEATURES OF JAVA ?
• JAVA PROGRAM TRANSLATION ?
• JAVA VIRTUAL MACHINE
• JAVA SYSTEM OVERVIEW
• EXECUTE JAVA ONLINE
• ADVANTAGE OF JAVA
• DISADVANTAGE OF JAVA
• PROJECT
WHAT IS JAVA
*java is object oriented programming language as well as
plateform
*Java is a high-level programming language originally
developed by Sun Microsystems and released in 1995.
Java runs on a variety of platforms, such as Windows,
Mac OS, and the various versions of UNIX.
*Java is first programming language which provide
the concept of writing programs that can be executed
by web
WHERE IS JAVA USED
According to the sun , 3 billion devices run java.
There are many devices whare java is currently used
• Desktop Applications – Acrobat reader , Media player , anti virus
• Web Application - irctc.co.in, javatpoint.com etc.
• Enterprise application- Banking application, Business application
• MOBILE
• EMBEDDED SYSTEM
• GAMES
• ROBOTICS
FEATURES OF JAVA
• Java is Simple
• Java is Object oriented
• Java is Distributed
• Java is Architecture neatrul
• Java is Robust
• Java is Interpreted and compiled
• Java is Secure
• Java is Portable
• Java is Multi- Threaded
JAVA PROGRAM TRANSLATION
Interpreter for WinXP
Hello.java Javac Interpreter for Mac
Hello . class
Source program java compiler java bytecode
Interpreter for Unix
JAVA VIRTUAL MACHINE
* Java virtual machine is like usual computer which translate high
level language into machine language.
* Just like that java virtual machine also translate bytecode into
machine language
* JVM are available for many hardware and software plateform
JAVA SYSTEM OVERVIEW
Java application
Java programming language
Java class library
Java native interface Java virtual machine
Class loader verifier execution
Operating system
EXECUTE JAVA ONLINE
• For most of the examples given in this tutorial, you will find a ‘Try it’ option, which
WE can use to execute our Java programs at the spot and enjoy your learning.
• Try following the example using the ‘Try it’ option available at the top right corner of
the following sample code box −
public class MyFirstJavaProgram {
public static void main(String []args) {
System.out.println(“ WELCOME TO ASANSOL POLYTECHNIC ");
}
}
DATA TYPES IN JAVA
Non Byte
Array, class,
primitives interface
data types Short
integer
Int
long
DATA TYPES
Numeric data real
types
float
double
Primitives data
types
Non- numeric data
Char & boolean
types
GARBAGE COLLECTION
* Garbage collection is the mechanism that De allocate
The memory of an object when it is no longer referenced
by variable
* In C++, the memory of an object is released by use of
Delete operator
* Java virtual machine determines when to free up the memory of an object
ADVANTAGES OF JAVA
• Java is simple language
• Java does not support pointers
• Java is first language in which programs can be executed using web
• Write Once Run Anywhere(WORA)
DISADVANTAGE OF JAVA
* Slow performance
* No support for low level programming
* Poor features in java
* No control over garbage collection
PROJACT
INTRANET MAILING SYSTEM
* USERS CAN SEND INFORMATION AND QUERY TO EACH OTHER
* PROVIDES THE FACILITY TO MAINTAIN PROFILE AND INBOX OF EACH
EMPLOYE SEPARATELY
* DEVELOP A COMMUNICATION INTERFACEFOR THE ORGANIZATION
THANK YOU