There are 2 classes . Class A and Class B. In Class A i declared
a variable in private. if we can access this private variable in
Class B. If yes means , how we can access ?

Answer Posted / aslam

class B must be inner class of class A

Is This Answer Correct ?    31 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a j2ee component?

524


What are different modules in spring?

527


What is the mvc on struts?

520


Is java important for my computer?

488


What is ejb jar file?

473






Who generates bytecode in java?

516


What is the best java application server?

482


What is a j2ee module?

534


What is the use of method saveorupdate()?

562


What is the best java compiler?

482


What is java api for xml-based rpc (jax-rpc)?

533


I’m new to WebLogic Does anyone knows how to Deploy Application using

1759


Is java part of oracle?

482


when i m calling java for web browser . so browser it's not support. show error in browser: internal error occur. java.lang.NoClassDefFoundError. will you give me solution why it's not starting browser.? is there any consult with .net framework2.0?

1563


What do you understand by j2ee?

491