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 does multithreading take place on a computer with a single cpu?

965


Which sorting is best in java?

969


Is jdk required on each machine to run a java program?

1231


How do you change an int to a string?

962


What is the platform?

954


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

989


How do you execute a thread in java?

917


What is the difference between abstract classes and interfaces?

982


How you can force the garbage collection?

942


What is the difference between class forname and new?

960


Is string an object?

1066


What is a protected class in java?

959


Write a method that will remove given character from the string?

981


What is the use of string and stringbuffer?

942


How to perform merge sort in java?

1008