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

Why is string buffer better than string ?

1111


Can you inherit from an abstract class java?

985


Is array a class?

922


How does arraylist size increase in java?

1103


Write a java program to generate fibonacci series ?

1061


How do you allocate memory to object?

981


How to find the given number is a prime number or not by getting input from the user

1090


Differences between traditional programming language and object oriented programming language?

1119


What is classname class in java?

1052


What is the static block?

1063


What do you mean by global variable?

943


What is a stringbuffer?

960


What is the purpose of static keyword in java?

953


What is java and their uses?

1026


What is the default value of an object reference declared as an instance variable?

1114