following up on confusion

P

printdude1968

I think I have finally figured out where my confusion has come from.
I won't bore you with the details, but suffice it to say that it has
to do with passing objects to methods.

According to the Sun tutorial

"Reference data type parameters, such as objects, are also passed into
methods by value. This means that when the method returns, the passed-
in reference still references the same object as before. However, the
values of the object's fields can be changed in the method, if they
have the proper access level"

so I must have gotten confused with objects being worked on in classes
which don't have methods. My apologizies to all you you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top