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

Explain the inheritance?

953


what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent

2159


What is a Transient Object?

1060


What is lambda expression in java?

1019


What are keyboard events?

1134


What is array sorting in java?

1041


what is a thread pool in java and why is it used?

987


What is abstract class constructor called?

990


What is local declaration?

948


What about member inner classes?

1085


What are the characteristics of java?

1039


What is variable and rules of variable?

1004


List out benefits of object oriented programming language?

864


What is prefix of a string?

1017


Which access specifier can be used with class ?

981