Springl 2008Springl 2008
MIS380: Object-Oriented Programmingusing JavaMIS380: Object-Oriented Programmingusing Java
11
MIS 380Object-OrientedProgramming using JavaMIS 380Object-OrientedProgramming using Java
Spring 2008Spring 2008
Springl 2008
MIS380: Object-Oriented Programmingusing Java
2
Class Web URLClass Web URL
http://faculty.unlv.edu/than/is380http://faculty.unlv.edu/than/is380
You will find syllabus, lecture notes, practiceprograms, assignment programs, and otherclass-related information here.You will find syllabus, lecture notes, practiceprograms, assignment programs, and otherclass-related information here.
See Syllabus.See Syllabus.
Springl 2008
MIS380: Object-Oriented Programmingusing Java
3
Object-Oriented SoftwareDevelopmentObject-Oriented SoftwareDevelopment
Object-oriented conceptsObject-oriented concepts
classesclasses
objectsobjects
encapsulationencapsulation
inheritanceinheritance
polymorphismpolymorphism
Java programming languageJava programming language
Graphical user interfacesGraphical user interfaces
AppletApplet
Springl 2008
MIS380: Object-Oriented Programmingusing Java
4
What Why is Object-Orientation?What Why is Object-Orientation?
It’s technology based on objects andclasses.It’s technology based on objects andclasses.
View of the world – better modelingapproachView of the world – better modelingapproach
Seamlessness between systemsdevelopment activitiesSeamlessness between systemsdevelopment activities
Easier maintenanceEasier maintenance
ReusabilityReusability
Springl 2008
MIS380: Object-Oriented Programmingusing Java
5
Architecture of Conventional SystemArchitecture of Conventional System
f(1)
f(2)
f(3)
f(4)
…..
Processes
Data
Springl 2008
MIS380: Object-Oriented Programmingusing Java
6
Architecture of Object-Oriented SystemArchitecture of Object-Oriented System
Data
f(1)
f(2)
Springl 2008
MIS380: Object-Oriented Programmingusing Java
7
Course OverviewCourse Overview
Fundamentals of Java Programming
GUI Programming
Object-oriented Programming
(Part I: Ch1, 2, 4)
(Part II: Ch6, 7, 8, 9, 10)
(Part III: Ch11, 12, 13, 14)
Springl 2008
MIS380: Object-Oriented Programmingusing Java
8
Fundamentals of JavaProgrammingFundamentals of JavaProgramming
Basics of Java (Ch1)Basics of Java (Ch1)
Primitive data types (Ch2)Primitive data types (Ch2)
Operations (Ch2)Operations (Ch2)
Control statements (Ch3)Control statements (Ch3)
Methods (Ch4)Methods (Ch4)
Arrays (Ch5)Arrays (Ch5)
Springl 2008
MIS380: Object-Oriented Programmingusing Java
9
Object-Oriented ProgrammingObject-Oriented Programming
Objects and classesObjects and classes
MethodsMethods
ConstructorsConstructors
OverloadingOverloading
EncapsulationEncapsulation
InheritanceInheritance
PolymorphismPolymorphism
OverridingOverriding
Abstract classesAbstract classes
InterfacesInterfaces
Object-orientedmodelingObject-orientedmodeling
Springl 2008
MIS380: Object-Oriented Programmingusing Java
10
GUI ProgrammingGUI Programming
GraphicsGraphics
AppletsApplets
GUI componentsGUI components
Event-driven programmingEvent-driven programming