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

What happens when a main method is declared as private?

Answer Posted / ashish

it compile easily... but it will give an error at the time
of execution .....

Is This Answer Correct ?    12 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the JDB in depth & command line.

1066


What is meant by attribute?

1210


how we can create packages in java?

1018


What does java edition mean?

1265


Are arrays dynamic in java?

1088


Are primitives objects?

1115


Can we sort a map in java?

1115


Can we make the abstract methods static in java?

1107


we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

2081


What is a void method?

972


What is meant by flickering?

1133


What is the use of default method in interface in java?

1054


Can a main method be declared final?

1105


What does the “final” keyword mean in front of a variable? A method? A class?

1040


How many types of threads are there in java?

1115