SlideShare a Scribd company logo
1 of 11
P1WU
UNIT – I: INTRODUCTION TO OOP AND JAVA
TOPIC -4: JAVA BUZZWORDS
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
UNIT I INTRODUCTION TO OOP AND JAVA
1. Overview of OOP
2. Object oriented
programming
paradigms
3. Features of Object
Oriented Programming
4. Java Buzzwords
5. Overview of Java – Data Types,
Variables and Arrays
6.Operators
7.Control Statements
8.Defining classes in Java
9.Constructors
10.Methods
11. Access specifiers
12.Static members
13. JavaDoc comments
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
JAVA BUZZWORDS
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
JAVA BUZZWORDS
• 4.1 Messaging:
• Messaging:
• Object oriented system consists of sets of objects that communicate with
each other.
• Object communicate with one another by sending and receiving data
much the same way as people pass messages to one another.
• A message for the object is a request for execution of a method and,
therefore, will invoke a method in the receiving object that generates the
desired result.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
JAVA BUZZWORDS
• Message Passing
• Any application requires a number of objects interacting in a
harmonious manner.
• Objects in a system may communicate with each other by using
message passing.
• Suppose a system has two objects − obj1 and obj2.
• The object obj1 sends a message to object obj2, if obj1 wants obj2
to execute one of its methods.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
JAVA BUZZWORDS
• 4.2 Relationships
• In order to describe a system, both dynamic (behavioral) and static
(logical) specification of a system must be provided.
• The dynamic specification describes the relationships among
objects e.g. message passing. And static specification describes the
relationships among classes, e.g. aggregation, association, and
inheritance.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
JAVA BUZZWORDS
• 4.3 Composition or Aggregation
• Aggregation or composition is a relationship among classes by
which a class can be made up of any combination of objects of
other classes.
• It allows objects to be placed directly within the body of other
classes.
• Aggregation is referred as a “part–of” or “has–a” relationship, with
the ability to navigate from the whole to its parts.
• An aggregate object is an object that is composed of one or more
other objects.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
JAVA BUZZWORDS
• 4.4 Association
• Association is a group of links having common structure and
common behavior.
• Association depicts the relationship between objects of one or
more classes. A link can be defined as an instance of an
association.
• The Degree of an association denotes the number of classes
involved in a connection.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
JAVA BUZZWORDS
• The Degree of an association denotes the number of classes
involved in a connection.
• The degree may be unary, binary, or ternary.
• A unary relationship connects objects of the same class.
• A binary relationship connects objects of two classes.
• A ternary relationship connects objects of three or more classes.
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
THANK YOU
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
DEPARTMENT OF INFORMATION TECHNOLOGY
SEMESTER – III
UNIT I INTRODUCTION TO OOP AND JAVA

More Related Content

Similar to CS3391 OOP UT-I T4 JAVA BUZZWORDS.pptx

JAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfJAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
nofakeNews
 
Introduction to C++ Class & Objects. Book Notes
Introduction to C++ Class & Objects. Book NotesIntroduction to C++ Class & Objects. Book Notes
Introduction to C++ Class & Objects. Book Notes
DigitalDsms
 

Similar to CS3391 OOP UT-I T4 JAVA BUZZWORDS.pptx (20)

CS3391 OOP UT-I T1 OVERVIEW OF OOP
CS3391 OOP UT-I T1 OVERVIEW OF OOPCS3391 OOP UT-I T1 OVERVIEW OF OOP
CS3391 OOP UT-I T1 OVERVIEW OF OOP
 
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfJAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
 
Need of object oriented programming
Need of object oriented programmingNeed of object oriented programming
Need of object oriented programming
 
Object Oriented Programming - Polymorphism and Interfaces
Object Oriented Programming - Polymorphism and InterfacesObject Oriented Programming - Polymorphism and Interfaces
Object Oriented Programming - Polymorphism and Interfaces
 
Features of Object Oriented Programming.pptx
Features of Object Oriented Programming.pptxFeatures of Object Oriented Programming.pptx
Features of Object Oriented Programming.pptx
 
JAVA-PPT'S.pdf
JAVA-PPT'S.pdfJAVA-PPT'S.pdf
JAVA-PPT'S.pdf
 
Lecture 5.pptx
Lecture 5.pptxLecture 5.pptx
Lecture 5.pptx
 
Lect1
Lect1Lect1
Lect1
 
Object oriented programming 3 object oriented concepts
Object oriented programming 3 object oriented conceptsObject oriented programming 3 object oriented concepts
Object oriented programming 3 object oriented concepts
 
chapter 5 concepts of object oriented programming
chapter 5 concepts of object oriented programmingchapter 5 concepts of object oriented programming
chapter 5 concepts of object oriented programming
 
Object oriented programming 6 oop with c++
Object oriented programming 6  oop with c++Object oriented programming 6  oop with c++
Object oriented programming 6 oop with c++
 
Oops concept in Java
Oops concept in JavaOops concept in Java
Oops concept in Java
 
Ooad lab manual
Ooad  lab manualOoad  lab manual
Ooad lab manual
 
Java chapter 5
Java chapter 5Java chapter 5
Java chapter 5
 
PPT Lecture-1.4.pptx
PPT Lecture-1.4.pptxPPT Lecture-1.4.pptx
PPT Lecture-1.4.pptx
 
Introduction to oop and java fundamentals
Introduction to oop and java fundamentalsIntroduction to oop and java fundamentals
Introduction to oop and java fundamentals
 
Oops
OopsOops
Oops
 
Cs2305 programming paradigms lecturer notes
Cs2305   programming paradigms lecturer notesCs2305   programming paradigms lecturer notes
Cs2305 programming paradigms lecturer notes
 
Introduction to C++ Class & Objects. Book Notes
Introduction to C++ Class & Objects. Book NotesIntroduction to C++ Class & Objects. Book Notes
Introduction to C++ Class & Objects. Book Notes
 
Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)Fundamentals of OOP (Object Oriented Programming)
Fundamentals of OOP (Object Oriented Programming)
 

More from AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING

More from AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING (20)

JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptxJAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
 
INTRO TO PROGRAMMING.ppt
INTRO TO PROGRAMMING.pptINTRO TO PROGRAMMING.ppt
INTRO TO PROGRAMMING.ppt
 
CS3391 OOP UT-I T2 OBJECT ORIENTED PROGRAMMING PARADIGM.pptx
CS3391 OOP UT-I T2 OBJECT ORIENTED PROGRAMMING PARADIGM.pptxCS3391 OOP UT-I T2 OBJECT ORIENTED PROGRAMMING PARADIGM.pptx
CS3391 OOP UT-I T2 OBJECT ORIENTED PROGRAMMING PARADIGM.pptx
 
CS3391 -OOP -UNIT – V NOTES FINAL.pdf
CS3391 -OOP -UNIT – V NOTES FINAL.pdfCS3391 -OOP -UNIT – V NOTES FINAL.pdf
CS3391 -OOP -UNIT – V NOTES FINAL.pdf
 
CS3391 -OOP -UNIT – IV NOTES FINAL.pdf
CS3391 -OOP -UNIT – IV NOTES FINAL.pdfCS3391 -OOP -UNIT – IV NOTES FINAL.pdf
CS3391 -OOP -UNIT – IV NOTES FINAL.pdf
 
CS3391 -OOP -UNIT – III NOTES FINAL.pdf
CS3391 -OOP -UNIT – III  NOTES FINAL.pdfCS3391 -OOP -UNIT – III  NOTES FINAL.pdf
CS3391 -OOP -UNIT – III NOTES FINAL.pdf
 
CS3391 -OOP -UNIT – II NOTES FINAL.pdf
CS3391 -OOP -UNIT – II  NOTES FINAL.pdfCS3391 -OOP -UNIT – II  NOTES FINAL.pdf
CS3391 -OOP -UNIT – II NOTES FINAL.pdf
 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
 
CS8080 information retrieval techniques unit iii ppt in pdf
CS8080 information retrieval techniques unit iii ppt in pdfCS8080 information retrieval techniques unit iii ppt in pdf
CS8080 information retrieval techniques unit iii ppt in pdf
 
CS8080 IRT UNIT I NOTES.pdf
CS8080 IRT UNIT I  NOTES.pdfCS8080 IRT UNIT I  NOTES.pdf
CS8080 IRT UNIT I NOTES.pdf
 
CS8080_IRT_UNIT - III T14 SEQUENTIAL SEARCHING.pdf
CS8080_IRT_UNIT - III T14 SEQUENTIAL SEARCHING.pdfCS8080_IRT_UNIT - III T14 SEQUENTIAL SEARCHING.pdf
CS8080_IRT_UNIT - III T14 SEQUENTIAL SEARCHING.pdf
 
CS8080_IRT_UNIT - III T15 MULTI-DIMENSIONAL INDEXING.pdf
CS8080_IRT_UNIT - III T15 MULTI-DIMENSIONAL INDEXING.pdfCS8080_IRT_UNIT - III T15 MULTI-DIMENSIONAL INDEXING.pdf
CS8080_IRT_UNIT - III T15 MULTI-DIMENSIONAL INDEXING.pdf
 
CS8080_IRT_UNIT - III T13 INVERTED INDEXES.pdf
CS8080_IRT_UNIT - III T13 INVERTED  INDEXES.pdfCS8080_IRT_UNIT - III T13 INVERTED  INDEXES.pdf
CS8080_IRT_UNIT - III T13 INVERTED INDEXES.pdf
 
CS8080 IRT UNIT - III SLIDES IN PDF.pdf
CS8080  IRT UNIT - III  SLIDES IN PDF.pdfCS8080  IRT UNIT - III  SLIDES IN PDF.pdf
CS8080 IRT UNIT - III SLIDES IN PDF.pdf
 
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdfCS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
 
CS8080_IRT_UNIT - III T12 INDEXING AND SEARCHING.pdf
CS8080_IRT_UNIT - III T12 INDEXING AND SEARCHING.pdfCS8080_IRT_UNIT - III T12 INDEXING AND SEARCHING.pdf
CS8080_IRT_UNIT - III T12 INDEXING AND SEARCHING.pdf
 
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdfCS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
CS8080_IRT_UNIT - III T11 ORGANIZING THE CLASSES.pdf
 
CS8080_IRT_UNIT - III T10 ACCURACY AND ERROR.pdf
CS8080_IRT_UNIT - III T10  ACCURACY AND ERROR.pdfCS8080_IRT_UNIT - III T10  ACCURACY AND ERROR.pdf
CS8080_IRT_UNIT - III T10 ACCURACY AND ERROR.pdf
 
CS8080_IRT_UNIT - III T9 EVALUATION METRICS.pdf
CS8080_IRT_UNIT - III T9 EVALUATION METRICS.pdfCS8080_IRT_UNIT - III T9 EVALUATION METRICS.pdf
CS8080_IRT_UNIT - III T9 EVALUATION METRICS.pdf
 
CS8080_IRT_UNIT - III T8 FEATURE SELECTION OR DIMENSIONALITY REDUCTION.pdf
CS8080_IRT_UNIT - III T8  FEATURE SELECTION OR DIMENSIONALITY REDUCTION.pdfCS8080_IRT_UNIT - III T8  FEATURE SELECTION OR DIMENSIONALITY REDUCTION.pdf
CS8080_IRT_UNIT - III T8 FEATURE SELECTION OR DIMENSIONALITY REDUCTION.pdf
 

Recently uploaded

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 

Recently uploaded (20)

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 

CS3391 OOP UT-I T4 JAVA BUZZWORDS.pptx

  • 1. P1WU UNIT – I: INTRODUCTION TO OOP AND JAVA TOPIC -4: JAVA BUZZWORDS AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 2. UNIT I INTRODUCTION TO OOP AND JAVA 1. Overview of OOP 2. Object oriented programming paradigms 3. Features of Object Oriented Programming 4. Java Buzzwords 5. Overview of Java – Data Types, Variables and Arrays 6.Operators 7.Control Statements 8.Defining classes in Java 9.Constructors 10.Methods 11. Access specifiers 12.Static members 13. JavaDoc comments AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 3. JAVA BUZZWORDS AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 4. JAVA BUZZWORDS • 4.1 Messaging: • Messaging: • Object oriented system consists of sets of objects that communicate with each other. • Object communicate with one another by sending and receiving data much the same way as people pass messages to one another. • A message for the object is a request for execution of a method and, therefore, will invoke a method in the receiving object that generates the desired result. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 5. JAVA BUZZWORDS • Message Passing • Any application requires a number of objects interacting in a harmonious manner. • Objects in a system may communicate with each other by using message passing. • Suppose a system has two objects − obj1 and obj2. • The object obj1 sends a message to object obj2, if obj1 wants obj2 to execute one of its methods. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 6. JAVA BUZZWORDS • 4.2 Relationships • In order to describe a system, both dynamic (behavioral) and static (logical) specification of a system must be provided. • The dynamic specification describes the relationships among objects e.g. message passing. And static specification describes the relationships among classes, e.g. aggregation, association, and inheritance. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 7. JAVA BUZZWORDS • 4.3 Composition or Aggregation • Aggregation or composition is a relationship among classes by which a class can be made up of any combination of objects of other classes. • It allows objects to be placed directly within the body of other classes. • Aggregation is referred as a “part–of” or “has–a” relationship, with the ability to navigate from the whole to its parts. • An aggregate object is an object that is composed of one or more other objects. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 8. JAVA BUZZWORDS • 4.4 Association • Association is a group of links having common structure and common behavior. • Association depicts the relationship between objects of one or more classes. A link can be defined as an instance of an association. • The Degree of an association denotes the number of classes involved in a connection. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 9. JAVA BUZZWORDS • The Degree of an association denotes the number of classes involved in a connection. • The degree may be unary, binary, or ternary. • A unary relationship connects objects of the same class. • A binary relationship connects objects of two classes. • A ternary relationship connects objects of three or more classes. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 10. THANK YOU AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA
  • 11. AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY SEMESTER – III UNIT I INTRODUCTION TO OOP AND JAVA