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

Is an array a vector?

1119


What is purpose of find feature?

1151


Mention the default values of all the elements of an array defined as an instance variable.

1036


How can we avoid including a header more than once?

1073


Is main a function?

1124


What are the states of thread in java?

1033


Is integer a class?

1130


What is an class?

1090


What is the meaning of immutable regarding string?

1009


Write a java program for binary search?

1120


How to access arraylist elements in java?

1035


Why put method is used?

1053


What are the main uses of this keyword?

1120


Is singleton class thread safe?

1053


What are the legal parameters?

1060