In OverLoading concept,Why they are not consider return
value and why they are consider only parameters in method?
For ex: public int Add(int a,int b){...}
public String Add(int a,int b){...}
Answer / brunda r
Because, if at all the return value is same then compiler
should identify the functions by their parameters.
| Is This Answer Correct ? | 0 Yes | 2 No |
sir plz send me a set of questions that been frequently held in written examination during campus selection.
Difference ways of Polymorphism?
what is Class in oops with example?
What is difference between class and object with example?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is the concept of object oriented program?
explain dynamic binding by drowing
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Can you inherit a private class?
when my application exe is running nad i don't want to create another exe what should i do
Are polymorphisms mutations?
What are virtual classes?