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 the epoch date?

566


What are the 8 primitive data types in java?

547


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

580


What is the main method java?

530


Is string a wrapper class?

512






What is meant by tab pans?

645


Is null keyword in java?

523


What are strings in physics?

541


How to sort array in descending order in java?

508


What is printwriter in java?

513


what is recursion in java

596


Is string is a keyword in java?

545


What is the mapping mechanism used by java to identify IDL language?

588


Explain about java sdk?

578


How can constructor chaining be done by using the super keyword?

614