Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can we write a program with out a class in core java?

Answer Posted / saran

it is possible to create java program without userdefined class.

public enum AAA {

AAA;

public static void main(final String[] args) {
System.out.println("H");
}

}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are runtime exceptions?

1105


What are green threads in java?

944


Explain the difference between extends thread vs implements runnable in java?

1058


What is the purpose of garbage collection in java?

1042


When can we say that threads are not lightweight process in java?

1076


Is binary a low level language?

866


What is math floor in java?

880


What do you understand by overloading and overriding in java?

1011


What are singleton services?

837


What is replaceall in java?

970


Is treeset sorted in java?

932


Can bool be null?

932


Write a factorial program using recursion in java?

939


What about member inner classes?

1035


What is java and its types?

1014