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?

Answers were Sorted based on User's Feedback



can you use the two main method in same class?how?..

Answer / shreedream

yes

in java language support the method Overloading, so we can
use the two main method in same class but it should have
different parameter list?

Is This Answer Correct ?    45 Yes 2 No

can you use the two main method in same class?how?..

Answer / reddy

yes
it is possible in java by passing different parametes to
the main method

Is This Answer Correct ?    9 Yes 5 No

can you use the two main method in same class?how?..

Answer / sanjay kalamdhad

yes,we can do it by method overloading concept in .net too but with using different signature.

Is This Answer Correct ?    5 Yes 1 No

can you use the two main method in same class?how?..

Answer / rajasekhar

yes

it is possible by using static inner class concept

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More Core Java Interview Questions

What happens when heap memory is full?

0 Answers  


Is void a type?

0 Answers  


Explain access modifiers in java.

0 Answers  


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

0 Answers  


Is nan false?

0 Answers  


What is the use of 'super' keyword inside a constructor?

0 Answers   Flextronics, Thomson Reuters, Virtusa,


how can be object class inherited to all class in a program when java does not support multiple inheritance??

4 Answers  


What is a map? What are the implementations of map?

0 Answers  


can any body tell me? does advance java and j2ee both are same.

4 Answers   CTS, Infosys,


explain copyonwritearraylist and when do we use copyonwritearraylist?

0 Answers  


What does the exclamation mark mean in java?

0 Answers  


What is a values collection view ?

0 Answers  


Categories