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.
|Core Java - Interview Questions and Answers for 'Nested interface' - 1 question(s) found - Order By Newest|
|Ans. Interface that is declared inside the interface or class, is known as nested interface. It is static by default.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  interface  nested interface intermediate|
Try 1 Question(s) Test
| 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 ?|
|Which of the following cannot be marked static ?|
|Explain use of nested or inner classes ?|
|What is the benefit of inner / nested classes ?|
|Explain Static nested Classes ?|
|Can try statements be nested?|
|Which of the following is not type of inner classes ?|