What is the use of anonymous inner classes ?

Answer Posted / chandrarekha

anonymous classes help to declare a class and create an
instance of a class in the same step.

Is This Answer Correct ?    59 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the parse method in java?

553


What is multi-catch block in java?

609


What is a variable in java?

522


What is the difference between a field variable and a local variable?

560


What is an object’s lock and which object’s have locks?

499






explain the difference between jdk and jvm?

555


Is node a data type in java?

489


Which is dependent variable?

483


What are the differences between heap and stack memory?

539


How variables are stored in memory?

529


What is the main functionality of the remote reference layer?

1407


How will you add panel to a frame?

637


Define class?

509


In java, how many ways you can take input from the console?

510


What are the 6 mandatory procedures for iso 9001?

522