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...

class A{
class B{
}
}
in which name u save the file,its the program compile?

Answer Posted / venkat

We can sava it as any class name in it. But it will not
compiled
inorder to the without of mainclass.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sprintf mean?

876


What is the flag in java?

991


Is c better than java?

906


Using callable statement how can you pass out parameters, explain with example?

1164


What is the purpose of the runtime class in java programming?

1011


What is bubble sort in java?

989


What is the difference between a loader and a compiler?

971


Why are getters and setters used?

999


What’s the difference between callable and runnable?

1021


What are the differences between string and stringbuffer?

1057


Why do we need autoboxing in java?

937


What is a null class?

922


Is string a class in java?

924


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1268


What is method overriding in java ?

1118