Can inner class final?



Can inner class final?..

Answer / Lavi Kumari

Yes, you can declare an inner class as final. A final inner class can be accessed from outside its enclosing class and is treated like a top-level class. However, the inner class cannot inherit from any other class or implement any interface.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

hr interview how many minutes asking question

1 Answers  


What is the difference between abstract classes and interfaces?

1 Answers  


What is the latest version of java?

1 Answers  


What is the java idl system?

1 Answers  


How will you reverse a singly-link list?

1 Answers   Akamai Technologies,


what is business delegate?

2 Answers   TCS,


What is a line separator in java?

1 Answers  


Where are local variables stored?

1 Answers  


What are exceptions

1 Answers   Futures First,


How do u provide security in java

3 Answers  


Explain java coding standards for interfaces?

1 Answers  


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

1 Answers  


Categories