What is method Overloading in the perspective of OOPS?
Answer Posted / md.meraz uddin
The system which have diffrent method in same class or same signature i.e inheritance , polymorphism etc that is called overlaoding.
For example:-
class A
{
public void add(int a, int b);
System.out.println(a+b);
}
public void add(int c,int d,int e);
{
System.out.println(c+d+e);
}
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the biggest integer?
Explain java coding standards for classes or java coding conventions for classes?
What is qualitative variable?
Is integer a class?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
What is the hashcode () and equals () used for?
What is contract between hashcode and equal method?
What is the difference between math floor and math round?
How to handle a web browser resize operation?
What is the synonym of procedure?
Write a program based on Java script program.
What is collection api?
What is the preferred size of a component in java programming?
What are the advantages of packages in java?
What is the main difference between java platform and other platforms?