SlideShare a Scribd company logo
J A V A T U T O R I A L
F O R B E G I N N E R S
H O W T O L E A R N J A V A P R O G R A M M I N G
C O N C E P T S
1. Overview
3. OOP's Concept
2. A Simple Main Program
O V E R V I E W
Java is a high-level programming language. Its main feature is a Platform
Independency making it different from other languages.
Platform Independency means Java compiler generates bytecode instead
of machine code. This bytecode can be run on any machine where JVM
is available.
Java
Compiler
Java
Interpreter
Source Code Machine CodeBytecode
O T H E R F E A T U R E S
Object Oriented
Multithreaded
Simple
Robust
Secured
Architecture Neutral
S I M P L E J A V A
P R O G R A M
class Demo
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}
E X E C U T I O N O F
P R O G R A M
To Compile the above code write the following code
To Run the above code write the following code
javac Demo.java
java Demo
O B J E C T O R I E N T E D
C O N C E P T
Object
Encapsulation
Polymorphism
Class
Abstraction
Inheritance
O B J E C T & C L A S S
Object:
Class:
It is a real-time entity that has state and behavior.
It may be physical and logical.
It is a collection of objects. It is a logical entity.
P O L Y M O R P H I S M
.One task is performed by different ways is called polymorphism.
In Java, we can achieve Polymorphism through Method
Overloading and Method Overriding
E N C A P S U L A T I O N
Encapsulation is binding up of Data and Code into a single unit.
A Java class is an example of Encapsulation. Java Bean is fully
encapsulated class.
A B S T R A C T I O N
Abstraction: Hiding details (Implementation ) and showing only
functionality
Example- We just send message but we don't know its internal
sending process
I N H E R I T A N C E
When one object acquires all the property and behavior of its parent object ,
is known as Inheritance. It provides code reusability.
Java doesn't support Multiple Inheritance. But In Java, we can achieve
concept of Multiple Inheritance through Interfaces
T H A N K Y O U
http://www.java2blog.com/

More Related Content

What's hot (20)

PPTX
Learn To Code: Introduction to c
SadhanaParameswaran
 
PDF
args_types
Ahmed Abd El-Mawgood
 
PPTX
CLTL: Description of web services and sofware. Nijmegen 2013
Rubén Izquierdo Beviá
 
PDF
PL Lecture 02 - Binding and Scope
Schwannden Kuo
 
PPTX
Python Tutorial for Beginner
rajkamaltibacademy
 
PDF
PL Lecture 01 - preliminaries
Schwannden Kuo
 
PPTX
Introduction to JVM languages and Fantom (very brief)
Jonathan Holloway
 
PPTX
Polymorphism
Ahmed Za'anin
 
PPTX
Procedural programming
Ankit92Chitnavis
 
PDF
JavaScript: Core Part
維佋 唐
 
PDF
1 hour dive into Erlang/OTP
Jordi Llonch
 
PPSX
Polymorphism
Selvin Josy Bai Somu
 
PDF
Grooming with Groovy
Dhaval Dalal
 
PPS
Master in javascript
Robbin Zhao
 
PDF
Elixir紹介
Masato HORINOUCHI
 
PPTX
CS152 Programming Paradigm
Kaya Ota
 
PDF
Elixir's Object Oriented Layer
Paolo Montrasio
 
ODP
Convention-Based Syntactic Descriptions
Ray Toal
 
PPTX
What's coming to c# (Tel-Aviv, 2018)
Moaid Hathot
 
PPTX
C# 8 e além
Lucas Teles
 
Learn To Code: Introduction to c
SadhanaParameswaran
 
CLTL: Description of web services and sofware. Nijmegen 2013
Rubén Izquierdo Beviá
 
PL Lecture 02 - Binding and Scope
Schwannden Kuo
 
Python Tutorial for Beginner
rajkamaltibacademy
 
PL Lecture 01 - preliminaries
Schwannden Kuo
 
Introduction to JVM languages and Fantom (very brief)
Jonathan Holloway
 
Polymorphism
Ahmed Za'anin
 
Procedural programming
Ankit92Chitnavis
 
JavaScript: Core Part
維佋 唐
 
1 hour dive into Erlang/OTP
Jordi Llonch
 
Polymorphism
Selvin Josy Bai Somu
 
Grooming with Groovy
Dhaval Dalal
 
Master in javascript
Robbin Zhao
 
Elixir紹介
Masato HORINOUCHI
 
CS152 Programming Paradigm
Kaya Ota
 
Elixir's Object Oriented Layer
Paolo Montrasio
 
Convention-Based Syntactic Descriptions
Ray Toal
 
What's coming to c# (Tel-Aviv, 2018)
Moaid Hathot
 
C# 8 e além
Lucas Teles
 

Similar to How to Learn Java Programming (20)

PPTX
Java PPT
Dilip Kr. Jangir
 
PPTX
Object oriented concepts with java
ishmecse13
 
PPSX
Core java lessons
vivek shah
 
PDF
Cs8392 oops 5 units notes
Narayanan sockalinganathan
 
PPTX
Module--fundamentals and operators in java1.pptx
Radhika Venkatesh
 
PDF
Java notes
Debasish Biswas
 
PPTX
Java and its concepts
aashukaushik
 
PPTX
U1 JAVA.pptx
madan r
 
PPTX
Introduction to oop and java fundamentals
AnsgarMary
 
PDF
Introduction to java
Ahmed Abbadi
 
PPTX
Letest
Prakash Poudel
 
PPTX
Java Programming concept
Prakash Poudel
 
PPTX
object oriented programming concept in java.pptx
Nagasivaparvathi
 
PPTX
Java Programming - UNIT - 1, Basics OOPS, Differences
PradeepT42
 
PPTX
Java OOP Concept
NikitaGour5
 
PPTX
Java_OOP_Presentation.pptx and digital twin based monitor
patilsahana36
 
PPTX
Unit 1 – Introduction to Java- (Shilpa R).pptx
shilpar780389
 
PDF
java ppt.pdf
PriyaMaurya52
 
PPTX
Core Java Basics
Sujit Pathak
 
PPTX
CS8392 OOP
DhanalakshmiVelusamy1
 
Object oriented concepts with java
ishmecse13
 
Core java lessons
vivek shah
 
Cs8392 oops 5 units notes
Narayanan sockalinganathan
 
Module--fundamentals and operators in java1.pptx
Radhika Venkatesh
 
Java notes
Debasish Biswas
 
Java and its concepts
aashukaushik
 
U1 JAVA.pptx
madan r
 
Introduction to oop and java fundamentals
AnsgarMary
 
Introduction to java
Ahmed Abbadi
 
Java Programming concept
Prakash Poudel
 
object oriented programming concept in java.pptx
Nagasivaparvathi
 
Java Programming - UNIT - 1, Basics OOPS, Differences
PradeepT42
 
Java OOP Concept
NikitaGour5
 
Java_OOP_Presentation.pptx and digital twin based monitor
patilsahana36
 
Unit 1 – Introduction to Java- (Shilpa R).pptx
shilpar780389
 
java ppt.pdf
PriyaMaurya52
 
Core Java Basics
Sujit Pathak
 
Ad

More from Java2Blog (7)

PDF
Java interview questions
Java2Blog
 
PDF
Core Java Tutorial
Java2Blog
 
PDF
Java String
Java2Blog
 
PDF
Exception Handling in Java
Java2Blog
 
PDF
Polymorphism in Java
Java2Blog
 
PDF
Spring Tutorial for Beginners
Java2Blog
 
PDF
Web Service Tutorial
Java2Blog
 
Java interview questions
Java2Blog
 
Core Java Tutorial
Java2Blog
 
Java String
Java2Blog
 
Exception Handling in Java
Java2Blog
 
Polymorphism in Java
Java2Blog
 
Spring Tutorial for Beginners
Java2Blog
 
Web Service Tutorial
Java2Blog
 
Ad

Recently uploaded (20)

PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Dimensions of Societal Planning in Commonism
StefanMz
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 

How to Learn Java Programming

  • 1. J A V A T U T O R I A L F O R B E G I N N E R S H O W T O L E A R N J A V A P R O G R A M M I N G
  • 2. C O N C E P T S 1. Overview 3. OOP's Concept 2. A Simple Main Program
  • 3. O V E R V I E W Java is a high-level programming language. Its main feature is a Platform Independency making it different from other languages. Platform Independency means Java compiler generates bytecode instead of machine code. This bytecode can be run on any machine where JVM is available. Java Compiler Java Interpreter Source Code Machine CodeBytecode
  • 4. O T H E R F E A T U R E S Object Oriented Multithreaded Simple Robust Secured Architecture Neutral
  • 5. S I M P L E J A V A P R O G R A M class Demo { public static void main(String args[]) { System.out.println("Hello World"); } }
  • 6. E X E C U T I O N O F P R O G R A M To Compile the above code write the following code To Run the above code write the following code javac Demo.java java Demo
  • 7. O B J E C T O R I E N T E D C O N C E P T Object Encapsulation Polymorphism Class Abstraction Inheritance
  • 8. O B J E C T & C L A S S Object: Class: It is a real-time entity that has state and behavior. It may be physical and logical. It is a collection of objects. It is a logical entity.
  • 9. P O L Y M O R P H I S M .One task is performed by different ways is called polymorphism. In Java, we can achieve Polymorphism through Method Overloading and Method Overriding
  • 10. E N C A P S U L A T I O N Encapsulation is binding up of Data and Code into a single unit. A Java class is an example of Encapsulation. Java Bean is fully encapsulated class.
  • 11. A B S T R A C T I O N Abstraction: Hiding details (Implementation ) and showing only functionality Example- We just send message but we don't know its internal sending process
  • 12. I N H E R I T A N C E When one object acquires all the property and behavior of its parent object , is known as Inheritance. It provides code reusability. Java doesn't support Multiple Inheritance. But In Java, we can achieve concept of Multiple Inheritance through Interfaces
  • 13. T H A N K Y O U http://www.java2blog.com/