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 / subrat

ya we can do it by using enum,but it is also a predefined class.

public subrat
{
subrat;
public static void main(String k[])
{
System.out.println("SUBRAT");
}
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a boolean used for?

1070


Can we create our own wrapper class in java?

922


Is java se free?

895


What do you understand by the term string pool?

968


How do you initialize an arraylist in java?

985


What is meant by string is immutable?

1011


what are abstract functions?

979


Is 0 true or false in java?

954


What are checked exceptions?

972


What is replaceall in java?

980


What are peerless components?

1035


What is square root in java?

1043


What is the replace tool?

1079


Why java is considered as platform independent?

968


What is definition and declaration?

969