Name an advantage of array over linked list?
Answer Posted / swopna
array uses static memory allocation
linkedlist uses dynamic memory allocation
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is encapsulation with real life example?
Can private class be inherited?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Why do we use encapsulation in oops?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
Can destructor be overloaded?
What does and I oop mean?
What is the problem with multiple inheritance?
What is protected in oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is inheritance in oop? Why can't we have instance(stack) of a class as a member of
the same class like eg.Class A{A obj;} as we can have self
refential pointer Why do we use class in oops? if i have same function with same number of argument but
defined in different files. Now i am adding these two files
in a third file and calling this function . which will get
called and wht decide the precedence? What is abstraction in oop?