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 / vijaya mahesh

It is neither overloading nor overriding

Is This Answer Correct ?    44 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between an inner class and a sub-class?

1064


How to check if linked list contains loop in java?

953


What are static variables and functions?

1186


Why is boolean important?

1120


What is the purpose of lambda expressions?

1108


What are generic methods?

1039


Is java code slower than native code?

1119


What is a ternary operator in java? What is an interface?

1036


What does next mean in java?

1020


What is the purpose of the return statement?

1123


How can we make string upper case or lower case?

1138


What is the purpose of garbage collection in java?

1138


What is application system?

1009


Can string be considered as a keyword?

1081


What should I import for arraylist in java?

1093