This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Object/Variables and its Access/Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Object/Variables and its Access/Methods" Watch "Object/Variables and its Access/Methods" New topic
Author

Object/Variables and its Access/Methods

eshu khare
Ranch Hand

Joined: Aug 01, 2008
Posts: 44
Declaring and mentioning of variable and object confuses in between.Can anyone please illustrate it with a composite good example.


Thanks & Regards
Eshu Khare
eshu khare
Ranch Hand

Joined: Aug 01, 2008
Posts: 44
Declaring and mentioning of variable and object confuses in between.Can anyone please illustrate it with a composite good example.

Why anyone is not finding this question answerable please let me know,so that I could also be clear with the topics.

Thanks & Regards
Eshu
Adinath Shirsath
Ranch Hand

Joined: Dec 04, 2007
Posts: 35
variables(Object references) are on stack while acutal objects are on Heap

look at this link

http://www.javaranch.com/campfire/StoryCups.jsp


let me know if it is useful
eshu khare
Ranch Hand

Joined: Aug 01, 2008
Posts: 44
Adinath Shirsath Thanks for your kind help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Object/Variables and its Access/Methods
 
It's not a secret anymore!