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 do you sort words in java?

948


What is oop in java?

1090


Why we use methods in java?

1013


Which class is the superclass of all classes?

1121


What is difference between Heap and Stack Memory?

1060


What is the difference between yielding and sleeping?

1132


Is heap stored in ram?

970


What are the new features in java 8?

1035


what is thread? : Java thread

994


what do you mean by java annotations?

1150


What is mnemonic in assembly language?

1083


How do you check if a character in a string is a digit or letter?

1088


how can i use a nonsynchronized hashtable?

2582


Why does java have two ways to create child threads? Which way is better?

1065


You're given a Boolean 2D matrix, can you find the number of islands?

1118