What are legal modifiers that we can use to declare an inner class?

Answer Posted / javamasque

public, protected, private, abstract, static and final

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is passing by reference in java?

535


If try block is successfully executed, Then Is Finally block executed?

603


Explain the difference between abstraction and encapsulation.

535


When throws keyword is used?

576


What is string value?

632






What is static block?

582


Can we override private method?

552


What do you mean by collectors in java 8?

535


How will you get the platform dependent values like line separator, path separator, etc., ?

576


What is main method?

532


What is skeleton and stub?

587


What are the restrictions imposed by a Security Manager on Applets?.

2059


What are the legal parameters?

501


What is a class variable?

562


Is java a virus?

528