Name an advantage of array over linked list?
Answer Posted / neha sharma
as arrays are static in nature, therefore all operations
like memory allocation occur at the time of compilation
only. So processor has to put less effort at its runtime .
| Is This Answer Correct ? | 43 Yes | 4 No |
Post New Answer View All Answers
What is encapsulation process?
Is react oop?
What is the example of polymorphism?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What are the 5 oop principles? Who invented oop? what is the sylabus for priliminaries? 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. What is the benefit of oop? INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE
METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN
A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS? What is the highest level of cohesion? Can we have inheritance without polymorphism? What is encapsulation in oop? Why is encapsulation used? What are two types of polymorphism?