References - Introduduction to Jave Programming - Lecture Slides, Slides of Java Programming

In the course of the Introduction to Jave Programming, we study the basic syntax and the basic program in java. In these lecture slides the key points are: References, Balloon, String Attached, String, Connects, Null Reference, Permission, Same Balloon, Original, Happen

Typology: Slides

2012/2013

Uploaded on 04/23/2013

sarmistha
sarmistha 🇮🇳

3.8

(22)

112 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
References
If a balloon is an object,
then a reference is
the string attached to it
A reference (string) is not the
object (balloon), but it connects
the user (person) to the
object (balloon)
object
reference
Docsity.com
pf3
pf4
pf5

Partial preview of the text

Download References - Introduduction to Jave Programming - Lecture Slides and more Slides Java Programming in PDF only on Docsity!

If a balloon is an object, then a reference is the string attached to it A reference (string) is not the object (balloon), but it connects the user (person) to the object (balloon) object reference

A null reference is a reference to nothing This is a string, without a balloon on the other end

If you both have the same balloon, then the other person can change your balloon without your permission

If you don't want this to happen, give them a copy of your balloon instead of the original