Core Java Interview questions


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

Write the syntax to use Ananymous Inner Class in java?

 AnonymousInner Obj = new AnonymousInner(){
   public void get(){
   ........
   ........
   }        
   };




Next 5 interview question(s)

1

 What do you know about Ananymous Inner Class in java?

2

Can Static nested class access non static member of outer class in java?

3

What do you know about Static Inner class in java?

4

How many access modifiers can be applied on Method Local inner class in java?

5

Can Method Local inner class access instance variable in java?