A method of a class can access?
-
Only the public instance variables of its class b. Only the private instance variables of the class c. Only the local variables the method defines d. Both public and private instance variables of the class and the method's local variables
-
Answer:
d. No variables in a class can be hidden from its methods. Not having access would defeat the purpose of the variables. It would be like a car not being able to do stuff based on the colour of its paint.
JayDave at Yahoo! Answers Visit the source
Other answers
d
James Bond
Related Q & A:
- How to construct a class diagram?Best solution by sourcemaking.com
- Is it correct to extend a bean class and write a class which holds logic to populate the bean we extend?Best solution by stackoverflow.com
- What can a switchboard in access do and not do?
- Which is better, A in an easy class or B/C in a hard class?Best solution by monkeysee.com
- Does anybody know a site where a teen can find a job?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.