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

class A
{
public void disp(int a,int b)
{
System.out.println("hai");
}
}
class B
{
public void disp(int a,int b,int c)
{
System.out.println("hai");
}
}

above program is overloading or overriding?

Answer Posted / shrirang & chetak

yes, above program is overloading the disp() method

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

java Technical questions asked by JPMC

4991


What are the main features of java?

909


What is java util function?

990


How many bits is a float?

936


Why string is called as immutable?

887


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1037


Is it possible to use string in the switch case?

990


What are the default and parameterized constructors?

1014


What environment variables do I need to set on my machine in order to be able to run java programs?

960


How do you sort a string in java?

901


How define set in java?

988


When is the finalize() called?

1120


What is immutable state?

939


Can we pass null as argument in java?

892


Why java uses the concept of the string literal?

998