Cc and Bcc are fields that contains the list of the recipients of an email. The Cc field is used when we want a second party to have a record of an email that is sent to the primary recipient and let the primary recipients have knowledge of this. The Bcc field is used when we want a third party to keep the record of an email sent to primary recipients, the recipients of Cc without their knowledge. The basic difference between Cc and Bcc is that the recipients of Cc are visible to all, on the … [Read more...]
Difference Between Thread Class and Runnable Interface in Java
A thread can be defined in two ways. First, by extending a Thread class that has already implemented a Runnable interface. Second, by directly implementing a Runnable interface. When you define a thread by extending Thread class you have to override the run() method in Thread class. When you define a thread implementing a Runnable interface you have to implement the only run() method of Runnable interface. The basic difference between Thread and Runnable is that each thread defined by … [Read more...]
Difference Between extends and implements keywords in Java
The keywords extends and implements are used to inherit the features of an already existing parent block in newly created child block. Using extends keyword, a newly created class (subclass) can inherit the features of an existing class (superclass). Using implements keyword a newly created class can implement all the methods of an interface. The primary difference between keywords extends and implements is that a class extends another class to inherit all its members whereas, a class … [Read more...]
Difference Between Data Hiding and Encapsulation
Data hiding and encapsulation both are the important concept of object oriented programming. Encapsulation means wrapping the implementation of data member and methods inside a class. When implementation of all the data member and methods inside a class are encapsulated, the method name can only describe what action it can perform on an object of that class. Data Hiding means protecting the members of a class from an illegal or unauthorized access. The main difference between data hiding and … [Read more...]
Difference Between Class and Interface in Java
Class and Interface both are used to create new reference types. A class is a collection of fields and methods that operate on fields. An interface has fully abstract methods i.e. methods with nobody. An interface is syntactically similar to the class but there is a major difference between class and interface that is a class can be instantiated, but an interface can never be instantiated. So let us learn some more difference between a class and interface with the help of a comparison chart … [Read more...]
Difference Between List and Set in Java
List and Set interface extends Collection. Both of them maintains the collection of elements or objects. But, the major difference that distinguishes them from each other is List is a collection of ordered element, the elements are added or remove or accessed with the help of an index variable. On the other hand, Set is a collection of objects where the collection does not allow duplicate elements in it. Let us study some more differences between List and Set interfaces with the help of … [Read more...]
Difference Between HashMap and Hashtable in Java
The HashMap and Hashtable, both are used to represent a group of objects that are represented in <Key, Value> pair. Each <Key, Value> pair is called Entry object. The collection of Entries is referred by the object of HashMap and Hashtable. Keys in a collection must be unique or distinctive. The difference between HashMap and Hashtable is that HashMap particularly implements the Map interface whereas, the Hashtable extends the Dictionary class (legacy class) which is reengineered … [Read more...]
Difference Between ArrayList and Vector in Java
ArrayList and Vector both are the classes under Collection Framework hierarchy. ArrayList and Vector, both are used to create a dynamic array of objects where the array can grow in size as and when required. There are two basic differences that distinguish ArrayList and Vector is that Vector belongs to Legacy classes that were later reengineered to support the collection classes whereas, an ArrayList is a standard collection class. Another important difference is that ArrayList is … [Read more...]
Difference Between Simplex, Half duplex and Full Duplex Transmission Modes
There are three modes of transmission simplex, half duplex, and full duplex. Transmission mode describes the direction, of flow of signal between two connected devices. The main difference between simplex, half duplex, and full duplex is that in a simplex mode of transmission the communication is unidirectional whereas, in the half-duplex mode of transmission the communication is two directional but the channel is alternately used by the both the connected device. On the other hand, in the … [Read more...]
Difference Between Point-to-point and Multipoint Connection
The point-to-point and Multipoint are two types of line configuration. Both of them describes a method to connect two or more communication devices in a link. The main difference between point-to-point and multipoint connection is that in a point-to-point connection the link is only between two devices i.e. a sender and a receiver. On the other hand, in a multipoint connection, the link is between a sender and multiple receivers. Lets us study further the difference between point-to-point and … [Read more...]
- « Previous Page
- 1
- …
- 7
- 8
- 9
- 10
- 11
- …
- 16
- Next Page »