I knew that Local Inner class can be abstract but when i run the following code i get a compile time error . cam somebody throw light on this?
Error:
Superclass abc of local class InLocalClass (Test6. 1$InLocalClass) not found.
Its confusing Plz calrify this
public class Test6 {
public static void main(
String args[]){
}
public void doSomethin(){
abstract class abc {}
class InLocalClass extends abc {
}
new InLocalClass();
}
}
------------------
"Winners don't do different things
They do things differently"