What modifiers can be used with a local inner class?

Answer Posted / payal

we can use static modifier with local inner class...it can
be non static also.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is singleton instance static?

503


Can we convert stringbuilder to string in java?

555


How many bytes is 255 characters?

546


Why parsing is done?

500


When the constructor of a class is invoked?

587






What happens to the Exception object after handling an exception?

1809


How do you write a scanner class in java?

561


What is charat java?

538


What do you understand by the bean persistent property?

549


How do you join strings in java?

518


Can singleton class be serialized?

511


Is java owned by oracle?

522


What is the difference between normal report & matrix report?

564


What is casting in java programming?

578


Why is singleton not thread safe?

645