(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