can we write program without class

Answer Posted / sitaram

class with out name is called ananamous class.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bytecode verifier?

733


How can you set the applet size?

841


Can an arraylist be empty?

820


What are the Main functions of Java?

872


What is deserialization?

828


What does string [] args mean?

773


What is the difference between Java1.4 and Java1.5

2086


What is xslt in java?

763


What is hashing principle in java?

814


Can you achieve runtime polymorphism by data members?

892


Garbage collection in java?

811


What is string intern in java?

808


Why for each loop is used?

792


Can classes declared using the abstract keyword cab be instantiated?

851


What do you mean by compiler?

838