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 you use the two main method in same class?how?

Answer Posted / rajasekhar

yes

it is possible by using static inner class concept

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between final and effectively final ?

1030


A person says that he compiled a java class successfully without even having a main method in it? Is it possible?

1002


What are the types of casting?

1010


What is the difference between member variables initialization and assignment in a constructor?

1189


How many bits is a string?

952


What is the name of the java compiler?

1010


Print Vertical traversal of a Binary Tree.

983


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

993


Can a variable be local and static at the same time?

951


How do you implement polymorphism in our day to day life?

3183


Is hashset sorted in java?

1129


Explain the difference between hashmap and hashtable in java?

895


How do you execute a thread in java?

912


List the interfaces which extends collection interface?

897


What is the core java?

915