SlideShare a Scribd company logo
Intro to Java Programming
Adgenda
• Class Introductions
• Brief History of Java
• Installations
• Java JDK
• Eclipse IDE

• High Level Overview of Java Language
• Object Orientation Introduction
Class Introductions
• Name
• Grade
• Programming Experience
• Any languages other than java?

• Favorite musical artist
• What you expect to get from the class.
BRIEF HISTORY OF JAVA
Brief History of Java
• Developed at Sun Microsystems by James
Gosling
• Initial version was, called Oak, was based on C++

• Released in 1995
• Initial vision was to automate consumer devices
(TVs, cable boxes,VCRs etc.)

• Released with the HotJava browser
• Designed with a write once run anywhere
concept (Hardware independent)
Brief History of Java
INSTALLATIONS
Installations
• Copy the JavaClass directory from the USB
drive to your C drive
• Run the java installer (either 32 or 64 bit
depending on your OS)
• Extract the eclipse distribution archive into the
JavaClass directory on your C drive
• Copy JarClassFinder to the eclipse dropins
directory
• Install ObjectAid from the update site
(http://www.objectaid.net/update)
Installations
• Expand the JAutoDoc plugin into the eclipse
directory
JAVA OVERVIEW
Java Overview
• Object oriented
• Two types of java programs
• Standalone
• Normal program run on a computer
• Can have a GUI or be headless

• Applet
• Run inside a web browser
Java Overview
• Anatomy of a java class file
OBJECT ORIENTATION
Object Orientation
• What is OO?
• An OO solution categorized into 3 phases
• Analysis
• The analysis of a problem that focuses on the problem domain
and the discovery of the domain entities and their interactions
and relevant state information.

• Design
• The process of taking the analysis output and refining and
extending it into a collection of cooperating classes that can be
implemented to form a solution to a set of user requirements.

• Programming
• An approach that facilitates creation of modular, reusable
components through the use of object oriented concepts.
Object Orientation
• OO Concepts
• Abstraction
• The identification of the essential characteristics of an
item

• Encapsulation
• The grouping of related concepts into one item, such as a
class or component

• Information hiding
• The restriction of external access to attributes

• Aggregation
• Represents “is part of” or “contains” relationships
between two classes or components
Object Orientation
• OO Concepts (Continued)
• Class
• A template from which objects are

• Interface
• The definition of a collection of one or more operation
signatures that defines a cohesive set of behaviors

• Collaboration
• Classes work together (collaborate) to fulfill their
responsibilities

• Message
• A message is either a request for information or a request
to perform an
Object Orientation
• OO Concepts (Continued)
• Operation
• Something a class does (similar to a function in structured
programming)

• Inheritance (Single and Multiple)
• Represents “is a”, “is like”, and “is kind of”
relationships. When class “B” inherits from class “A” it
automatically has all of the attributes and operations that
“A” implements

• Polymorphism
• Different objects can respond to the same message in
different ways, enable objects to interact with one another
without knowing their exact type
Object Orientation
• OO Concepts (Continued)
• Subclass
• If class “B” inherits from class “A,” we say that “B” is a
subclass of “A”

• Superclass
• If class “B” inherits from class “A,” we say that “A” is a
superclass of “B”

• Operation
• Something a class does (similar to a function in structured
programming)
Object Orientation
• OO Concepts (Continued)
• Override
• Sometimes you need to override (redefine) attributes
and/or methods in subclasses

More Related Content

What's hot

Java
JavaJava
java-corporate-training-institute-in-mumbai
java-corporate-training-institute-in-mumbaijava-corporate-training-institute-in-mumbai
java-corporate-training-institute-in-mumbai
Unmesh Baile
 
Java
JavaJava
Getting Started with Java (TCF 2014)
Getting Started with Java (TCF 2014)Getting Started with Java (TCF 2014)
Getting Started with Java (TCF 2014)
Michael Redlich
 
02 beginning code first
02   beginning code first02   beginning code first
02 beginning code first
Maxim Shaptala
 
MVC and Entity Framework 4
MVC and Entity Framework 4MVC and Entity Framework 4
MVC and Entity Framework 4
James Johnson
 
ASP.NET MVC and Entity Framework 4
ASP.NET MVC and Entity Framework 4ASP.NET MVC and Entity Framework 4
ASP.NET MVC and Entity Framework 4
James Johnson
 
Introduction to Object Oriented Programming & Design Principles
Introduction to Object Oriented Programming & Design PrinciplesIntroduction to Object Oriented Programming & Design Principles
Introduction to Object Oriented Programming & Design Principles
Michael Redlich
 
Introduction to Object Oriented Programming & Design Principles
Introduction to Object Oriented Programming & Design PrinciplesIntroduction to Object Oriented Programming & Design Principles
Introduction to Object Oriented Programming & Design Principles
Michael Redlich
 
Factory and Class Cluster
Factory and Class ClusterFactory and Class Cluster
Factory and Class Cluster
HSIEH CHING-FAN
 
Core Java Training in Bangalore | Best Core Java Class in Bangalore
Core Java Training in Bangalore | Best Core Java Class in BangaloreCore Java Training in Bangalore | Best Core Java Class in Bangalore
Core Java Training in Bangalore | Best Core Java Class in Bangalore
TIB Academy
 
GeekAustin PHP Class - Session 6
GeekAustin PHP Class - Session 6GeekAustin PHP Class - Session 6
GeekAustin PHP Class - Session 6
jimbojsb
 
Spider进化论
Spider进化论Spider进化论
Spider进化论
cjhacker
 
Javasession6
Javasession6Javasession6
Javasession6
Rajeev Kumar
 
Entity API in Drupal 8 (Drupal Tech Talk October 2014)
Entity API in Drupal 8 (Drupal Tech Talk October 2014)Entity API in Drupal 8 (Drupal Tech Talk October 2014)
Entity API in Drupal 8 (Drupal Tech Talk October 2014)
Bart Feenstra
 

What's hot (15)

Java
JavaJava
Java
 
java-corporate-training-institute-in-mumbai
java-corporate-training-institute-in-mumbaijava-corporate-training-institute-in-mumbai
java-corporate-training-institute-in-mumbai
 
Java
JavaJava
Java
 
Getting Started with Java (TCF 2014)
Getting Started with Java (TCF 2014)Getting Started with Java (TCF 2014)
Getting Started with Java (TCF 2014)
 
02 beginning code first
02   beginning code first02   beginning code first
02 beginning code first
 
MVC and Entity Framework 4
MVC and Entity Framework 4MVC and Entity Framework 4
MVC and Entity Framework 4
 
ASP.NET MVC and Entity Framework 4
ASP.NET MVC and Entity Framework 4ASP.NET MVC and Entity Framework 4
ASP.NET MVC and Entity Framework 4
 
Introduction to Object Oriented Programming & Design Principles
Introduction to Object Oriented Programming & Design PrinciplesIntroduction to Object Oriented Programming & Design Principles
Introduction to Object Oriented Programming & Design Principles
 
Introduction to Object Oriented Programming & Design Principles
Introduction to Object Oriented Programming & Design PrinciplesIntroduction to Object Oriented Programming & Design Principles
Introduction to Object Oriented Programming & Design Principles
 
Factory and Class Cluster
Factory and Class ClusterFactory and Class Cluster
Factory and Class Cluster
 
Core Java Training in Bangalore | Best Core Java Class in Bangalore
Core Java Training in Bangalore | Best Core Java Class in BangaloreCore Java Training in Bangalore | Best Core Java Class in Bangalore
Core Java Training in Bangalore | Best Core Java Class in Bangalore
 
GeekAustin PHP Class - Session 6
GeekAustin PHP Class - Session 6GeekAustin PHP Class - Session 6
GeekAustin PHP Class - Session 6
 
Spider进化论
Spider进化论Spider进化论
Spider进化论
 
Javasession6
Javasession6Javasession6
Javasession6
 
Entity API in Drupal 8 (Drupal Tech Talk October 2014)
Entity API in Drupal 8 (Drupal Tech Talk October 2014)Entity API in Drupal 8 (Drupal Tech Talk October 2014)
Entity API in Drupal 8 (Drupal Tech Talk October 2014)
 

Viewers also liked

Kızların da Yükseklere Uçmasına İzin Verin
Kızların da Yükseklere Uçmasına İzin VerinKızların da Yükseklere Uçmasına İzin Verin
Kızların da Yükseklere Uçmasına İzin Verin
SlaytSunum
 
El cuento de isabel
El cuento de isabelEl cuento de isabel
El cuento de isabel
Isabel Romaña
 
Skincare transcript mr qual excerpt
Skincare transcript mr qual excerptSkincare transcript mr qual excerpt
Skincare transcript mr qual excerpt
MrQual
 
Smart Telco Media Pack
Smart Telco Media PackSmart Telco Media Pack
Smart Telco Media Pack
smartcorporation
 
Introduction to is_5
Introduction to is_5Introduction to is_5
Introduction to is_5Turu Turuu
 
일관성있는 911 디자인 아이덴티티
일관성있는 911 디자인 아이덴티티일관성있는 911 디자인 아이덴티티
일관성있는 911 디자인 아이덴티티
Junryul Choi
 
Bondo et Zippy - Trudge and Zippy
Bondo et Zippy - Trudge and ZippyBondo et Zippy - Trudge and Zippy
Bondo et Zippy - Trudge and Zippy
Freekidstories
 

Viewers also liked (8)

Kızların da Yükseklere Uçmasına İzin Verin
Kızların da Yükseklere Uçmasına İzin VerinKızların da Yükseklere Uçmasına İzin Verin
Kızların da Yükseklere Uçmasına İzin Verin
 
El cuento de isabel
El cuento de isabelEl cuento de isabel
El cuento de isabel
 
Skincare transcript mr qual excerpt
Skincare transcript mr qual excerptSkincare transcript mr qual excerpt
Skincare transcript mr qual excerpt
 
Smart Telco Media Pack
Smart Telco Media PackSmart Telco Media Pack
Smart Telco Media Pack
 
Introduction to is_5
Introduction to is_5Introduction to is_5
Introduction to is_5
 
자료구조03
자료구조03자료구조03
자료구조03
 
일관성있는 911 디자인 아이덴티티
일관성있는 911 디자인 아이덴티티일관성있는 911 디자인 아이덴티티
일관성있는 911 디자인 아이덴티티
 
Bondo et Zippy - Trudge and Zippy
Bondo et Zippy - Trudge and ZippyBondo et Zippy - Trudge and Zippy
Bondo et Zippy - Trudge and Zippy
 

Similar to Intro to java programming

U1 JAVA.pptx
U1 JAVA.pptxU1 JAVA.pptx
U1 JAVA.pptx
madan r
 
CS8392 OOP
CS8392 OOPCS8392 OOP
oop unit1.pptx
oop unit1.pptxoop unit1.pptx
oop unit1.pptx
sureshkumara29
 
lecture-1111111111111111111111111111.pdf
lecture-1111111111111111111111111111.pdflecture-1111111111111111111111111111.pdf
lecture-1111111111111111111111111111.pdf
harey68956
 
Presentation 1.pptx
Presentation 1.pptxPresentation 1.pptx
Presentation 1.pptx
PranavSoni19
 
JAVA PROGRAMMING- OOP Concept
JAVA PROGRAMMING- OOP ConceptJAVA PROGRAMMING- OOP Concept
JAVA PROGRAMMING- OOP Concept
Trinity Dwarka
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
jyoti_lakhani
 
L1 basics
L1 basicsL1 basics
L1 basics
teach4uin
 
Introduction to oops
Introduction to oopsIntroduction to oops
Introduction to oops
Umamaheshwariv1
 
Java
JavaJava
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentals
AnsgarMary
 
How to train the jdt dragon
How to train the jdt dragonHow to train the jdt dragon
How to train the jdt dragon
Ayushman Jain
 
Core java lessons
Core java lessonsCore java lessons
Core java lessons
vivek shah
 
Design patterns
Design patternsDesign patterns
Design patterns
Alok Guha
 
Evolving systems and the link to service orientation
Evolving systems and the link to service orientationEvolving systems and the link to service orientation
Evolving systems and the link to service orientation
Angelo van der Sijpt
 
Java_notes.ppt
Java_notes.pptJava_notes.ppt
Java_notes.ppt
tuyambazejeanclaude
 
DSL's with Groovy
DSL's with GroovyDSL's with Groovy
DSL's with Groovy
paulbowler
 
Java EE Revisits GoF Design Patterns
Java EE Revisits GoF Design PatternsJava EE Revisits GoF Design Patterns
Java EE Revisits GoF Design Patterns
Murat Yener
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
Ravi Kant Sahu
 
Testing-Tools-Magnitia-Content.pdf
Testing-Tools-Magnitia-Content.pdfTesting-Tools-Magnitia-Content.pdf
Testing-Tools-Magnitia-Content.pdf
AnanthReddy38
 

Similar to Intro to java programming (20)

U1 JAVA.pptx
U1 JAVA.pptxU1 JAVA.pptx
U1 JAVA.pptx
 
CS8392 OOP
CS8392 OOPCS8392 OOP
CS8392 OOP
 
oop unit1.pptx
oop unit1.pptxoop unit1.pptx
oop unit1.pptx
 
lecture-1111111111111111111111111111.pdf
lecture-1111111111111111111111111111.pdflecture-1111111111111111111111111111.pdf
lecture-1111111111111111111111111111.pdf
 
Presentation 1.pptx
Presentation 1.pptxPresentation 1.pptx
Presentation 1.pptx
 
JAVA PROGRAMMING- OOP Concept
JAVA PROGRAMMING- OOP ConceptJAVA PROGRAMMING- OOP Concept
JAVA PROGRAMMING- OOP Concept
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
 
L1 basics
L1 basicsL1 basics
L1 basics
 
Introduction to oops
Introduction to oopsIntroduction to oops
Introduction to oops
 
Java
JavaJava
Java
 
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentals
 
How to train the jdt dragon
How to train the jdt dragonHow to train the jdt dragon
How to train the jdt dragon
 
Core java lessons
Core java lessonsCore java lessons
Core java lessons
 
Design patterns
Design patternsDesign patterns
Design patterns
 
Evolving systems and the link to service orientation
Evolving systems and the link to service orientationEvolving systems and the link to service orientation
Evolving systems and the link to service orientation
 
Java_notes.ppt
Java_notes.pptJava_notes.ppt
Java_notes.ppt
 
DSL's with Groovy
DSL's with GroovyDSL's with Groovy
DSL's with Groovy
 
Java EE Revisits GoF Design Patterns
Java EE Revisits GoF Design PatternsJava EE Revisits GoF Design Patterns
Java EE Revisits GoF Design Patterns
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
Testing-Tools-Magnitia-Content.pdf
Testing-Tools-Magnitia-Content.pdfTesting-Tools-Magnitia-Content.pdf
Testing-Tools-Magnitia-Content.pdf
 

Intro to java programming

  • 1. Intro to Java Programming
  • 2. Adgenda • Class Introductions • Brief History of Java • Installations • Java JDK • Eclipse IDE • High Level Overview of Java Language • Object Orientation Introduction
  • 3. Class Introductions • Name • Grade • Programming Experience • Any languages other than java? • Favorite musical artist • What you expect to get from the class.
  • 5. Brief History of Java • Developed at Sun Microsystems by James Gosling • Initial version was, called Oak, was based on C++ • Released in 1995 • Initial vision was to automate consumer devices (TVs, cable boxes,VCRs etc.) • Released with the HotJava browser • Designed with a write once run anywhere concept (Hardware independent)
  • 8. Installations • Copy the JavaClass directory from the USB drive to your C drive • Run the java installer (either 32 or 64 bit depending on your OS) • Extract the eclipse distribution archive into the JavaClass directory on your C drive • Copy JarClassFinder to the eclipse dropins directory • Install ObjectAid from the update site (http://www.objectaid.net/update)
  • 9. Installations • Expand the JAutoDoc plugin into the eclipse directory
  • 11. Java Overview • Object oriented • Two types of java programs • Standalone • Normal program run on a computer • Can have a GUI or be headless • Applet • Run inside a web browser
  • 12. Java Overview • Anatomy of a java class file
  • 14. Object Orientation • What is OO? • An OO solution categorized into 3 phases • Analysis • The analysis of a problem that focuses on the problem domain and the discovery of the domain entities and their interactions and relevant state information. • Design • The process of taking the analysis output and refining and extending it into a collection of cooperating classes that can be implemented to form a solution to a set of user requirements. • Programming • An approach that facilitates creation of modular, reusable components through the use of object oriented concepts.
  • 15. Object Orientation • OO Concepts • Abstraction • The identification of the essential characteristics of an item • Encapsulation • The grouping of related concepts into one item, such as a class or component • Information hiding • The restriction of external access to attributes • Aggregation • Represents “is part of” or “contains” relationships between two classes or components
  • 16. Object Orientation • OO Concepts (Continued) • Class • A template from which objects are • Interface • The definition of a collection of one or more operation signatures that defines a cohesive set of behaviors • Collaboration • Classes work together (collaborate) to fulfill their responsibilities • Message • A message is either a request for information or a request to perform an
  • 17. Object Orientation • OO Concepts (Continued) • Operation • Something a class does (similar to a function in structured programming) • Inheritance (Single and Multiple) • Represents “is a”, “is like”, and “is kind of” relationships. When class “B” inherits from class “A” it automatically has all of the attributes and operations that “A” implements • Polymorphism • Different objects can respond to the same message in different ways, enable objects to interact with one another without knowing their exact type
  • 18. Object Orientation • OO Concepts (Continued) • Subclass • If class “B” inherits from class “A,” we say that “B” is a subclass of “A” • Superclass • If class “B” inherits from class “A,” we say that “A” is a superclass of “B” • Operation • Something a class does (similar to a function in structured programming)
  • 19. Object Orientation • OO Concepts (Continued) • Override • Sometimes you need to override (redefine) attributes and/or methods in subclasses