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 is it possible for two string objects with identical values not to be equal under the == operator?

999


What is a flag value?

1029


Differences between C and Java?

1207


What is the difference between the paint() and repaint() methods in java programming?

1189


What is difference between static class and singleton pattern?

1031


How do you create a first line indent?

1004


What is meant by memory leak?

1078


Is java same as core java?

1103


What is jagged array in java?

1092


Is set thread safe java?

930


Can bool be null?

988


How to retrieve data from database in java using arraylist?

1059


How do you check if a string is lexicographically in java?

959


What are the types of java languages?

980


What is java util function?

1107