Core Java Interview questions


Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

How many access modifiers can be applied on normal inner class?

Normal inner class will be treated like member of the outer class so we can apply several modifiers like final,abstract,public,private,protected etc.

 




Next 5 interview question(s)

1

How to get "this" for outer class if "this" is referencing inner class in java?

2

Suppose we have a class called Outer and with in it another class called Inner.what happen if we compile OuterClass file?

3

Write the code to create new object for normal inner class in java?

4

Can we directly  execute the normal inner class file with java command?

5

What do you know about Normal Inner Class in java?