0% found this document useful (0 votes)
32 views18 pages

Day-1 - Introduction

The document provides an overview of Java, including its basics, features, types of applications, and the history of its development. It explains key concepts such as Object-Oriented Programming (OOP), the Java Development Kit (JDK), Java Runtime Environment (JRE), and Java Virtual Machine (JVM). Additionally, it outlines the foundational principles of OOP, including encapsulation, polymorphism, and inheritance.

Uploaded by

Abhishek Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views18 pages

Day-1 - Introduction

The document provides an overview of Java, including its basics, features, types of applications, and the history of its development. It explains key concepts such as Object-Oriented Programming (OOP), the Java Development Kit (JDK), Java Runtime Environment (JRE), and Java Virtual Machine (JVM). Additionally, it outlines the foundational principles of OOP, including encapsulation, polymorphism, and inheritance.

Uploaded by

Abhishek Verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 18

Java Tutorials

Content

 Basic of Java

 Feature of Java

 OOP concept,

 OOPs vs. Procedure Oriented Programming


Basic of Java

 What is Java?

 Where it is used?

 Type of Java Application.

 History of Java.
What is Java ?

 Java is a Programming language and a platform.

 Platform Any hardware or software in which a program


runs,
Known as a platform.

 Since Java has its own Runtime Environment and API , it is


called platform.
Where it is Used?

 Desktop Application

 Web Application

 Enterprise application

 Mobile

 Smart Card

 Games etc
Types of Java Application

 Standalone Application:-Need to install on every machine.

 Web Application:-Runs on Server

 Enterprise Application :-Bank Application

 Mobile Application:-Android and Java


History of Java

 Developed By James Gosling at Sun Microsystems(which is


now subsidiary of Oracle Corporation) and released in 1995

 Initially called Oak and was developed as a part of Green


project.
Java Version History

 There are many java versions that has been released.


 JDK Alpha and Beta (1995)
 JDK 1.0 (23rd Jan, 1996)
 JDK 1.1 (19th Feb, 1997)
 J2SE 1.2 (8th Dec, 1998)
 J2SE 1.3 (8th May, 2000)
 J2SE 1.4 (6th Feb, 2002)
 J2SE 5.0 (30th Sep, 2004)
 Java SE 6 (11th Dec, 2006)
 Java SE 7 (28th July, 2011)
 Java SE 8 ()
Features of Java

 Simple
 Object-Oriented
 Platform Independent
 Secured
 Robust
 Architecture Neutral
 Portable
 Dynamic
 High Performance
 Multithread
 Distributed
Features of Java

 Simple :Java is designed to be easy to learn. If you understand


the basic concept of OOP java would be easy to master.

 Object Oriented : In java everything is an Object.

 Platform independent: Unlike many other programming


languages including C and C++ when Java is compiled, it is not
compiled into platform specific machine, rather into platform
independent byte code.
Features of Java

 Secure : With Java's secure feature it enables to develop virus-


free, tamper-free systems.

 Architectural- neutral :Java compiler generates an


architecture-neutral object file format which makes the
compiled code to be executable on many processors, with the
presence Java runtime system.

 Portable :being architectural neutral and having no


implementation dependent aspects of the specification makes
Java portable.
Features of Java

 Robust :Java makes an effort to eliminate error prone


situations by emphasizing mainly on compile time
error checking and runtime checking.

 Multi-threaded : With Java's multi-threaded feature it is


possible to write programs that can do many tasks
simultaneously.

 High Performance: With the use of Just-In-Time


compilers
Java enables high performance.
Features of Java

 Distributed :Java is designed for the distributed environment


of the internet.

 Dynamic : Java programs can carry extensive amount of run-


time information that can be used to verify and resolve
accesses to objects on run-time.
Program Compilation

 At compile time, Java file is compiled by Compiler


and converts the java code into byte code.
JDK,JRE & JVM

 JVM:-Java Virtual Machine is a specification that provides


runtime environment which java byte code can be executed.

 JRE:-Java Runtime Environment is the implementation of


JVM. It physically exist. It contains set of libraries other files
that JVM uses at runtime.

 JDK:-Java Development kit =JRE+development tools


Foundation Principle of OOP

 Encapsulation
 Data and code bound together into one object.

 Polymorphism
 One interface to access a general set of action

 Inheritance
 An object acquire the property of another
object
Example

User interacts (interfaces) with a Mechanics implement a vehicle (e.g.


vehicle (car, boat, truck, e.g.) via car) by creating and assembling the
the interface (steering wheel, engine, transmission, wheels, etc
gauges, accelerator, brake)

Abstraction: separate interaction (interface) from implementation.


Encapsulation: hide details of the implementation.
Polymorphism: common interface for each vehicle.
Inheritance: car & boat inherit components of the vehicle class.
THE
END

You might also like