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 / arun

Since two class are not in a not related to each other so
this is neither overloading nor overriding

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we use primitive data types as objects?

1002


What is scanner in java?

994


What is the purpose of an interface?

1097


Explain the difference between abstract classes and interfaces in java?

1268


Why is stringbuffer called mutable?

1047


Can java arraylist hold different types?

1153


how can i use a nonsynchronized hashtable?

2626


What does a void function return?

1065


What is module with example?

1100


What is a parameter used for?

1007


What is the purpose of checked and unchecked exceptions in JAVA?

1072


What is the same as procedures?

1037


When should I use stringbuffer?

1056


What is outofmemoryerror in java?

1077


What are nested classes in java?

1171