![]() Though Linear Search takes Similar Time for both, Binary Search using LinkedList requires creating new Model called Binary Search Tree which is slower but offers constant time insertion and deletion.ĥ. Random access using index in ArrayList is faster than LinkedList which requires traversing the complete list through references.Ĥ. Removal and Insertion at specific place in ArrayList requires moving all elements and hence leads to O(n) insertions and removal whereas its constant O(1) for LinkedList.ģ. ArrayList needs continuous memory locations and hence need to be moved to a bigger space if new elements are to be added to a filled array which is not required for LinkedList.Ģ. Underlying data structure for ArrayList is Array whereas LinkedList is the linked list and hence have following differences -ġ. What is the difference between ArrayList and LinkedList ?Īns. Favorite question in Walk in Drive of many Indian service companies. Like Discuss Correct / Improve oops oops features Asked in 260 Companies basic frequent Please let us know the company, where you were asked this question : ![]() Polymorphism for flexibility and interfacing Encapsulation for security and protectionĤ. Abstraction for modularity, maintenance and agilityģ. OOP's facilitate the following featuresĢ. Objects that all self sustained, provide security by encapsulating it's members and providing abstracted interfaces over the functions it performs. Instead of a process calling series of processes, this model stresses on communication between objects. OOPs or Object Oriented Programming is a Programming model which is organized around Objects instead of processes. General - Interview Questions and Answers for 'Atos' - 15 question(s) found - Order By NewestĪns.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |