Donate SIGN UP

Accessor methods in Java

Avatar Image
Rodge2 | 15:30 Tue 22nd Mar 2011 | Computers
2 Answers
If I have a java Map, and one of the types is an object of another class, how do I use accessor methods to access the instance variables of that object to alter them? I know I have to use 'get' but can't work out how to reference it otherwise. Thanks anyone who can help...I'm tearing my hair out here!
Gravatar

Answers

1 to 2 of 2rss feed

Best Answer

No best answer has yet been selected by Rodge2. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
Question Author
Thanks rojash, but unfortunately not.

1 to 2 of 2rss feed

Do you know the answer?

Accessor methods in Java

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.