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 |
design class for linked list and include constructor,destructor,insert option. struct node { int node; struct node &ptr; }
• What are the desirable attributes for memory managment?
the difference between new and malloc
write a progra in c++ using class & object to find out wheather a given no. is prim or not.
should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks
What is the difference between static polymorphism and dynamic polymorphism?
What are the three parts of a simple empty class?
Which is not an object oriented programming language?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
What do we mean by a hidden argument in a function?
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
what is difference between objects and function