Answer Posted / preeti
in overloading methods can have the same name but must
have different parameter lists i.e signature
while in overriding if you declare a field in a subclass
with the same name as one in the superclass, the superclass
field can only be accessed using super or the superclasses
type
Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
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).
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What are properties in oop?
What is an interface in oop?
What is encapsulation process?
Why do we use class?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is the highest level of cohesion?
What is encapsulation in ict?
What is the renewal class?
What is for loop and its syntax?
Why is there no multiple inheritance?
Prepare me a program for the animation of train
What are the types of abstraction?