Difference Between Two Things

Difference between HashSet and TreeSet in Java

Posted on

Distinguish, differentiate, compare and explain what is the difference between HashSet and TreeSet in Java. Difference between HashSet and TreeSet in Java 1. In terms of ordering or sorting: HashSet doesn’t provide any ordering guarantee, whereas TreeSet provides ordering /sorting guarantee. 2. In terms of null element: HashSet allows one null element while TreeSet doesn’t allows […]

Similarities Between Two Things

Similarities between ArrayList and LinkedList

Posted on

What are the similarities between arrayList and linkedList? Similarities between ArrayList and LinkedList 1. Insertion Order: The List<E> interface’s add(E e) method defines a contract that specified elements must be appended to the list. As ArrayList and LinkedList are concrete implementations of List interface they follow the contract and hence insertion order of an element is […]

Difference Between Two Things

Difference between static and dynamic binding

Posted on

Distinguish, differentiate, compare and explain what is the main difference between static and dynamic binding. Difference between static and dynamic binding 1. Static binding happens at compile time. Dynamic binding happens at runtime. 2. The actual object is not used for static binding. The actual object is used for dynamic binding. 3. Static binding is […]

Difference Between Two Things

Difference between Swing and AWT

Posted on

Distinguish, differentiate, compare and explain what is the main difference between Swing and AWT. Difference between Swing and AWT 1. Swing is a considered as light weight. AWT is considered as heavy weight. 2. Swing components are platform independent because they are developed purely in java. AWT components are platform dependent. 3. Swing components require […]

Difference Between Two Things

Difference between RDBMS and ODBMS

Posted on

Distinguish, differentiate, compare and explain what is the difference between RDBMS and ODBMS. Comparison and Difference between RDBMS and ODBMS In RDBMS, support for object oriented programming is poor while ODBMS directly supports object oriented programming and the support is extensive. Based on the criteria of simplicity of use, RDBMS has table structures and is […]