Comment on Tutorial - Assigning Object Reference Variables By aathishankaran



Comment Added by : Deepak Mohan

Comment Added at : 2015-12-22 01:50:29

Comment on Tutorial : Assigning Object Reference Variables By aathishankaran
I see two mutually incompatible statements in the article above. Can someone please explain?

a) For example, a subsequent assignment to t1 will simply unhook t1 from the original object without affecting the object or affecting t2.

b)t1 = null

Here, t1 has been set to null, but still points to the original object.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. I get an error returned saying the SMPT server req
View Tutorial          By: Christian Peut at 2011-04-04 04:35:51

2. I am a B. Tech. (ECE) student, can i also give scj
View Tutorial          By: Sneha Agarwal at 2013-07-11 08:10:17

3. change
for(counter=0;counter<=length-1;l

View Tutorial          By: Dan at 2012-05-28 04:53:14

4. Hi
I have final project whit sms program.
View Tutorial          By: AliPour at 2011-09-11 16:51:19

5. hi RAMLAK i am akankshain and getting these erro
View Tutorial          By: akanksha at 2011-12-06 10:15:47

6. Hi guys, What is the best way to connect to mysql
View Tutorial          By: veron at 2010-09-11 16:13:25

7. it help me lot 2 understand what is struts-config
View Tutorial          By: Amit Tomar at 2010-11-27 09:27:15

8. Hi , This SMS code is running fine, but the major
View Tutorial          By: VageR at 2008-09-02 06:33:59

9. Thanks, how about using isset() function on page/U
View Tutorial          By: Paolo at 2009-06-01 07:29:10

10. Hi ,Razvan

I changed code as in you

View Tutorial          By: sanil at 2011-01-01 11:05:53