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

How many arguments can be passed to main ()?

1044


What do you know about the garbage collector?

1157


What are the drawbacks for singleton class?

1080


Can we return null in java?

1222


describe synchronization in respect to multithreading? : Java thread

979


How many bits is a boolean?

1135


What is a methodologist?

1140


Can you make a constructor final in Java?

1197


how is final different from finally and finalize in java?

1109


What are the characteristics of java?

1126


Explain super keyword in java.

1083


What is identifier give example?

1105


How do you allocate memory to object?

1047


What is int lol?

1190


What language is java written?

1058