Welcome Guest | Sign in | Register
Inner Classes - Discussion Page For Q.3020 | Java Programming Questions and Answers | Java Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Inner Classes > Questions and Answers

Q: class MyOuter {
class MyInner { }
}
after compile how many classes will be created ?
A. MyOuter.class and MyOuter & MyInner.class B. MyOuter & MyInner.class
C. MyOuter.class D. None of the above

Answer and Explanation

Answer:MyOuter.class and MyOuter & MyInner.class

Explanation:
two class files will be created. MyOuter.class MyOuter& MyInner.class

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.