Difference Between Method Overriding and Method Hiding in C#

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 of them.Following are the important differences between Method Overriding and Method Hiding.Sr. No.KeyMethod OverridingMethod Hiding1DefinitionMethod Overriding is a mechanism to achieve polymorphism where the super class and sub class have same methods, including the parameters and signature and, when you call it using the sub class object, the implementation in ... Read More

Difference Between SortedList and SortedDictionary in C#

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

918 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 in its case is overhead.On other hand SortedDictionary requires more memory for storage so memory status in its case is not bottlenecked.2DesignedSortedList is internally implemented as in sortedList the elements are stored in a continuous block in memory.On other hand in SortedDictionary the elements are stored in separate object that ... Read More

Difference Between Simultaneous and Hierarchical Access Memory Organisations

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

1K+ 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 between Simultaneous and Hierarchical Access Memory Organisations.Following are the important differences between Simultaneous and Hierarchical Access Memory Organisations.Sr. No.KeySimultaneous Access Memory OrganisationsHierarchical Access Memory Organisations1DefinitionSimultaneous Access Memory Organisations is the memory organizing technique in which CPU can interact with multiple memory levels at same time and gets data interaction. This ... Read More

Difference Between Simple and Complex View in SQL

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

3K+ 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 in the view we can distinguish between Simple and Complex View in SQL.Following are the important differences between Simple and Complex View.Sr. No.KeySimple ViewComplex View1DefinitionSimple View in SQL is the view created by involving only single table. In other words we can say that there is only one base table ... Read More

Difference Between Set and Unordered Set in C++

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

267 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. No.KeySetUnOrderSet1DefinitionSet in C++ can be defined as a type of associative container which stores the data in key value pair and in which each value element has to be unique, because the value of the element identifies it.On other hand UnOrderSet are part of the C++ STL (Standard Template Library) ... Read More

Difference Between Set and Multiset in C++

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

5K+ 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. No.KeySetMultiSet1DefinitionSet in C++ can be defined as a type of associative container which stores the data in key value pair and in which each value element has to be unique, because the value of the element identifies it.On other hand MultiSet are part of the C++ STL (Standard Template Library) ... Read More

Difference Between scanf and gets in C

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

10K+ 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 input from keyboard and stores them according to the given format specifier. It reads the input till encountering a whitespace, newline or EOF.On other hand gets() function is used to receive input from the keyboard till it encounters a newline or EOF. The whitespace is considered as a part of ... Read More

Difference Between Class and Structure in C#

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

961 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 consider them beyond this context then Class provides more flexibility along with functionality as compared to the Structure.Following are the important differences between Class and Structure.Sr. No.KeyClassStructure1Data TypeData defined in a class is stored in the memory as a reference and has particular address in order to get accessed, so ... Read More

Difference Between bindParam and bindValue in PHP

Nitin Sharma
Updated on 09-Jun-2020 08:30:50

4K+ Views

Both bindParam and bindValue are the inbuilt functions of PHP which are used for accessing database records by mapping variable to the value in PHP data objects statement also known as PDOStatement which is nothing else but is an abstraction layer for database queries.Following are the important differences between ASP and ASP.NET.Sr. No.KeybindParam functionbindValue function1DefinitionbindParam is a PHP inbuilt function used to bind a parameter to the specified variable name in a sql statement for access the database record.bindValue, on the other hand, is again a PHP inbuilt function used to bind the value of parameter to the specified variable ... Read More

Difference Between ASP and ASP.NET

Nitin Sharma
Updated on 09-Jun-2020 08:29:55

4K+ Views

Both ASP and ASP.NET are the widely used languages for application and mainly the frontEnd development. Both the languages used for dynamic generation of web pages. The content generated through server-side scripting is then sent to the client’s web browser.Following are the important differences between ASP and ASP.NET.Sr. No.KeyASPASP.NET1DefinitionASP or also popularly known as Classic ASP developed by Microsoft is first Server-side scripting engine which is used for dynamic generation of web pages.ASP.NET, on the other hand, is a server-side web framework, open-source, which is designed for the generation of dynamic web pages.2Language typeASP is interpreted language that means the ... Read More

Advertisements