SlideShare a Scribd company logo
a class provides the blueprint for objects;
you create an object froma class
Declaration
We have declared 3 References of type Point.
J ava References are Variables but they can hold
Object memory address like Pointers.
Instantiation
The new keyword is a J ava operator that creates a new object.
ObjectsReferences
Objects are created at memory locations
Set values
J ava References have their own location
but point to Objects.
Are these two objects (or One) ?
How we can set X &Y of the first object ?
It is not possible without Reference or calling a Method.
Setting Object attribute values using Reference

More Related Content

PPT
1 1 5 Clases
 
PPTX
1 intro
PDF
Vouloir présent
DOCX
Job detail (2)
PDF
Basic Operator, String and Characters in Swift.
PDF
Gatopardo Ecuador marzo 2013
PDF
Tong hop diem cac huyen năm 2016
PPTX
Mi música Sandra Sóstenes
1 1 5 Clases
 
1 intro
Vouloir présent
Job detail (2)
Basic Operator, String and Characters in Swift.
Gatopardo Ecuador marzo 2013
Tong hop diem cac huyen năm 2016
Mi música Sandra Sóstenes

Viewers also liked (16)

PPTX
Leadership Circle Profile - The Leadership Circle Profile Increases Leader Ca...
DOC
9. cv góp ý nđ nđ về kinh doanh mũ bảo hiểm
PDF
PDF
Gatopardo Ecuador Abril 2013
PDF
Java Variable Types
PDF
Arithmetic operator
PDF
Manual de Carreño - Urbanidad y Buenas Maneras
PPT
Wave propagation properties
DOCX
Global Alumni Management
PDF
Acero y vidrio.
PPT
fading channels
PPTX
ODPi 101: Who we are, What we do
DOCX
DANH SÁCH KHÁCH HÀNG MIỄN PHÍ
PPTX
BeautyNow Pitch Deck
PDF
How to Make your Slides More Memorable?
PDF
Platforms, where the digital economy stands up
Leadership Circle Profile - The Leadership Circle Profile Increases Leader Ca...
9. cv góp ý nđ nđ về kinh doanh mũ bảo hiểm
Gatopardo Ecuador Abril 2013
Java Variable Types
Arithmetic operator
Manual de Carreño - Urbanidad y Buenas Maneras
Wave propagation properties
Global Alumni Management
Acero y vidrio.
fading channels
ODPi 101: Who we are, What we do
DANH SÁCH KHÁCH HÀNG MIỄN PHÍ
BeautyNow Pitch Deck
How to Make your Slides More Memorable?
Platforms, where the digital economy stands up
Ad

More from Shahid Rasheed (6)

PDF
Java Variable Storage
PDF
Variable Naming Best Practices
PDF
Java Basic Operators
PDF
Java basic-data-types
PDF
Java basic-syntax
PDF
What is-java
Java Variable Storage
Variable Naming Best Practices
Java Basic Operators
Java basic-data-types
Java basic-syntax
What is-java
Ad

Recently uploaded (20)

PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Business Ethics Teaching Materials for college
PPTX
Institutional Correction lecture only . . .
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Pre independence Education in Inndia.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
Pharma ospi slides which help in ospi learning
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
Cell Types and Its function , kingdom of life
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
01-Introduction-to-Information-Management.pdf
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Complications of Minimal Access Surgery at WLH
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Business Ethics Teaching Materials for college
Institutional Correction lecture only . . .
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Insiders guide to clinical Medicine.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Pre independence Education in Inndia.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Renaissance Architecture: A Journey from Faith to Humanism
Anesthesia in Laparoscopic Surgery in India
Pharma ospi slides which help in ospi learning
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPH.pptx obstetrics and gynecology in nursing
Cell Types and Its function , kingdom of life
Supply Chain Operations Speaking Notes -ICLT Program
O7-L3 Supply Chain Operations - ICLT Program
01-Introduction-to-Information-Management.pdf

Java Instantiation