What modifiers can be used with a local inner class?
Answers were Sorted based on User's Feedback
we can use final or abstract for a local inner class .
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / payal
we can use static modifier with local inner class...it can
be non static also.
| Is This Answer Correct ? | 6 Yes | 2 No |
Can an interface extend a class?
Explain the importance of throws keyword in java?
What is the Concept of Encapsulation in OOPS
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Explain all java features with real time examples
difference between byte stream class and character stream class?
what is thread? : Java thread
What is a class ?
Explain an algorithm to find depth of a binary tree.
0 Answers Akamai Technologies,
what is collatration?
What is java util list?
How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }