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

What is method in java ?

1015


How do you use substring in java?

1054


Can we declare a class as static?

1036


Why convert an applet to an application?

1042


What is Java Reflection API? Why it’s so important to have?

1073


What is the this keyword?

977


What is a loop java?

1002


how we can make a read-only class in java?

933


Can a constructor call the constructor of parent class?

973


Can inner class final?

1045


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

1047


What are the methods used to implement for the key object in the hash map?

981


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

1009


Can a static class implement an interface?

1050


What is the final variable?

1166