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

Is int a class in java?

985


What does it mean to flush a file?

1066


Explain the available thread states in a high-level?

961


What do you mean by formatting?

995


Why does java doesnt suuport unsigned values?

2237


What is the different between get and post?

974


Which method returns the length of a string?

1038


What is memory leak and how does java handle it?

985


Can we overload destructor in java?

992


Is array size fixed in java?

975


Why we used vector class?

1069


What does java edition mean?

1157


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1081


What is boolean law?

1066


What is command line argument

1195