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

Which class contains a method: cloneable or object?

1000


why are there separate wait and sleep methods? : Java thread

987


What does file separator do in java?

984


What are the 4 types of research methods?

884


What is the formula to calculate percentage?

973


Can a constructor be private and how are this() and super() method used with constructor?

948


What is structure of java heap? What is perm gen space in heap?

1069


Are private methods final?

856


Why local variables are stored in stack?

934


Is null function in java?

988


Define Multiprogramming and Multiprocessing in java.

1076


Tell me are there implementations for sorting and searching in the java libarary?

997


How thread scheduler schedule the task?

1007


What is one third plus one third as a fraction?

879


Why destructor is not used in java?

936