Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
Ans. Constructors , Classes ( Outer ) , Interfaces , Local variables , Inner Class methods and instance variables. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  oops   java   static   nested classes   static nested classes | ||||
Try 2 Question(s) Test | ||||
Related Questions | ||||
Which of the following can be marked static ? a. Methods , Variables and Initialization Blocks. b. Methods , Variables , Initialization Blocks and Outer Classes and nested Classes. c. Methods , Variables , Initialization Blocks and Outer Classes. d. Methods , Variables , Initialization Blocks and nested Classes | ||||
What is the difference between inner class and sub class ? | ||||
Difference between nested and inner classes ? | ||||
What is a nested interface ? | ||||
What is the benefit of inner / nested classes ? | ||||
Explain Static nested Classes ? | ||||
Can we have an inner class within Interface ? | ||||
Upon compiling the following class, What .class files will get created public class OuterClass{ class InnerClass{ } } | ||||
Can we declare a class private ? | ||||