explain Anonynous inner class?

Answer Posted / javac

Anonymous inner class is a class inside a class with out
name.and it is always used create the object of itself and
store it into super class reference variable or Interface
reference variable.

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 the length of a string?

515


How to remove the trailing spaces from a string?

644


What is data string?

487


Is java still relevant?

494


How do generics work?

514






What is object english?

577


What is a generic type?

552


What is extension method in java?

558


What is a conditional statement explain with example?

536


What is the exact difference in between unicast and multicast object? Where we will use?

554


Give a brief description of java socket programming?

517


Is arraylist sorted in java?

525


State the merge-sort principle and its time complexity.

565


What is difference between checked and unchecked exception in java?

565


How to compare strings in java?

497