Name an advantage of array over linked list?
Answer Posted / eren tsanglao
Array can be access randomly and it can even access the
middle element by just the array name with the
subscript,eg, a[5].The elemente are allocated a contagious
memory.Whereas in linked list more space is required for
the pointer and the information.Accessing elements in
linked list is sequential.
| Is This Answer Correct ? | 26 Yes | 7 No |
Post New Answer View All Answers
Why is polymorphism important in oop?
What are oops functions?
Can a varargs method be overloaded?
What is stream in oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
Why polymorphism is used in oops?
What is persistence in oop?
State what is encapsulation and friend function?
Why is polymorphism used?
What is abstraction encapsulation?
What does enum stand for?
What is new keyword in oops?
What are properties in oop?
write string class as your own class in java without using any built-in function
What is meant by oops concept?