Nitin Sharma has Published 47 Articles

Difference Between LinkedList and LinkedHashSet in Java

Nitin Sharma

Nitin Sharma

Updated on 07-Dec-2023 11:12:55

1K+ Views

LinkedList and LinkedHashSet both are one of the most important classes of Java Collection framework. Following are the important differences between LinkedList and LinkedHashSet. Sr. No. Key LinkedList LinkedHashSet 1 Implementation LinkedList is the implementation of list and deque interface. LinkedHashSet on other hand is the implementation of set interface and it inherits Hashset class. 2 Internal Implementation LinkedList internally implements or ... Read More

Difference between HashMap and HashSet in Java.

Nitin Sharma

Nitin Sharma

Updated on 15-Sep-2023 01:07:13

21K+ Views

HashMap and HashSet both are one of the most important classes of Java Collection framework.Following are the important differences between HashMap and HashSet.Sr. No.KeyHashMapHashSet1ImplementationHashmap is the implementation of Map interface.Hashset on other hand is the implementation of set interface.2Internal implementationHashmap internally do not implements hashset or any set for its ... Read More

Difference between Method Overriding and Method Hiding in C#

Nitin Sharma

Nitin Sharma

Updated on 09-Jun-2020 09:13:22

3K+ Views

In C# there are two mechanisms for redefining or providing the new implementation of a method of parent class by its child class and these two mechanisms are known as Method overriding and Method hiding. Now on the basis of how method re-implementation is done we can distinguish between both ... Read More

Difference between SortedList and SortedDictionary in C#

Nitin Sharma

Nitin Sharma

Updated on 09-Jun-2020 09:09:16

531 Views

Both SortedList and SortedDictionary in C# are the types of data structures used for data storage, now on the basis of characteristics and nature we can distinguish between both of them.Following are the important differences between SortedList and SortedDictionary.Sr. No.KeySortedListSortedDictionary1Memory organizationSortedList requires low memory for storage hence the memory status ... Read More

Difference between Simultaneous and Hierarchical Access Memory Organisations

Nitin Sharma

Nitin Sharma

Updated on 09-Jun-2020 09:05:02

783 Views

As we know in context of computer/system, the main key feature on which the whole performance get dependent is Memory. It is memory and its allocation which make the system to perform fast and efficient. Now on the basis of organizing of this memory in the system, we can distinguish ... Read More

Difference between Simple and Complex View in SQL

Nitin Sharma

Nitin Sharma

Updated on 09-Jun-2020 09:02:15

2K+ Views

Before discussing on Simple and complex, first we should know what is View. A View is the logical virtual table created from one or more tables which can be primarily used to fetch the columns from one or more different tables at a time. On the basis of tables involved ... Read More

Difference between Set and UnOrderSet in C++

Nitin Sharma

Nitin Sharma

Updated on 09-Jun-2020 09:00:59

86 Views

In C++ both Set and UnOrderSet are the type of data structures which are used to store the data for easy accessing and insertion. On the basis of characteristics of both these data structures we can distinguish between Set and UnOrderSetFollowing are the important differences between Set and UnOrderSet −Sr. ... Read More

Difference between Set and MultiSet in C++

Nitin Sharma

Nitin Sharma

Updated on 09-Jun-2020 08:59:29

4K+ Views

In C++, both Set and MultiSet are the type of data structures which are used to store the data for easy accessing and insertion. On the basis of characteristics of both these data structures we can distinguish between Set and MultiSet.Following are the important differences between Set and MultiSet −Sr. ... Read More

Difference between scanf() and gets() in C

Nitin Sharma

Nitin Sharma

Updated on 09-Jun-2020 08:53:21

8K+ Views

In C language both scanf() and gets() functions are defined to get input from external source and pass to system as input. Now there is some characteristics difference between both the functions.Following are the important differences between scanf() and gets() in C −Sr. No.Keyscanf() functiongets() function1DefinitionThe scanf() function can read ... Read More

Difference between Class and Structure in C#

Nitin Sharma

Nitin Sharma

Updated on 09-Jun-2020 08:36:53

665 Views

In order to differentiate between Class and Structure, we have to first understand that both structure and class seems to be equivalent in the context of holding and defining the data. Both of these could define as well as hold some default values in their data members. But if we ... Read More

Advertisements