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 are the new features available in java 1.5 version?

3 Answers   Accenture, Features, Motorola,


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

0 Answers  


What is args length in java?

0 Answers  


What will happens if you opened Internet Explorer 4 times?

2 Answers  


What are the fileinputstream and fileoutputstream?

0 Answers  


What is OOP?

2 Answers   BMC, Microsoft,


What is the difference between an interface and an abstract class?

0 Answers   Cyient,


What is the meaning of nullable?

0 Answers  


Can we override constructors?

0 Answers  


What is the new line character?

0 Answers  


What is a method header?

0 Answers  


Explain about complier design(phases)

0 Answers   Aditi Placement Service,


Categories