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

Does windows 10 need java?

0 Answers  


What does s mean in regex?

0 Answers  


Integer.parse Int(bf.readLine(System.out.println("enter value for n["+m+"]:"))); can it run under this

1 Answers  


What is default specifier ??? Use of default specifier ???

4 Answers   Cognizant, Syntel,


Can we overload the methods by making them static?

0 Answers  


explain System.out.println()

12 Answers   CTS,


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

0 Answers  


If we don’t want some of the fields not to serialize how to do that?

0 Answers  


How do you join strings in java?

0 Answers  


how is final different from finally and finalize in java?

0 Answers   DELL,


What is difference between static method and static variable?

7 Answers  


What is passing parameters in java?

0 Answers  


Categories