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

what is a working thread? : Java thread

1029


What is the difference between equals() and == in java?

968


Can we use catch statement for checked exceptions?

959


Can we override constructor in java?

1087


Is alive method in java?

971


what is meant by Garbage collection?

1092


What is empty string literal in java?

1055


What is an example of a boolean?

1051


What is hashset in java?

1123


Why does java have two ways to create child threads? Which way is better?

1040


Name container classes in java programming?

1088


Why is string buffer better than string ?

1116


Name some classes present in java.util.regex package.

1027


What is the collections api?

1052


What are adapter classes?

1043