Nitin Sharma has Published 40 Articles

Differences between wait() and join() methods in Java

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 14:16:47

3K+ Views

In multithreading when we deal with threads there comes the requirement of pause and start a thread for this Threading provides two methods wait and join which are used for the same.The following are the important differences between wait() and join().Sr. No.Keywait()join()1Declarationwait() method is defined in Object class and hence ... Read More

Difference between length of Array and size of ArrayList in Java

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 12:23:03

624 Views

In collections, one of the main functional requirement is to get the number of elements which are get stored in our collection so that one can decide whether to put more elements in it or not. Also, the number of elements is also required for iteration of collection.As we know ... Read More

Difference between Definition and Declaration in Java.

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 12:14:17

3K+ Views

For the difference between definition and declaration, one should consider their literal meaning first which includes Declare means to announce or proclaim while Define means to describe some entity.The following are the important differences between the Definition and the Declaration.Sr. No.KeyDeclarationDefinition1ConceptThe concept of declaration includes informing the compiler about properties ... Read More

Difference Between Daemon Threads and User Threads In Java

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 12:10:14

1K+ Views

As we know java is a language that supports multi threading and on the basis of nature threads in java are classified into two types Daemon thread and User thread.The following are the important differences between Daemon Threads and User Threads.Sr. No.KeyDaemon ThreadsUser Threads1NatureDaemon thread is low in priority i.e ... Read More

Difference between Compile Time Errors and Runtime Errors in C Program

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 11:49:02

2K+ Views

Error or exception is something that refers to the interruption of code execution due to which the expected outcome could not be attained to the end-user.On the basis of the event when an error is generated or identified we can classify them as Compile time error and runtime error.The following ... Read More

Difference between Boxing and Unboxing in C# programming.

Nitin Sharma

Nitin Sharma

Updated on 17-Sep-2019 11:06:03

1K+ Views

C# provides two methods to link value type to reference type and vice e Versa. These two methods for linking are named boxing and unboxing where Boxing is used for the conversion of the value type to an object type while Unboxing refers to the conversion of the object type ... Read More

Difference between Bootstrap and AngularJS.

Nitin Sharma

Nitin Sharma

Updated on 17-Sep-2019 10:36:38

2K+ Views

Along with many other frameworks for front end development AngularJs and Bootstrap are two well-known frameworks in the market.AngularJS is widely used for single page application development as it provides MVC architecture with data model binding. On the other hand, Bootstrap uses HTML, CSS, and JavaScript for its development which ... Read More

Difference between Arrays and Collection in Java

Nitin Sharma

Nitin Sharma

Updated on 17-Sep-2019 10:34:05

14K+ Views

In order to store multiple values or objects of the same type, Java provides two types of data structures namely Array and Collection.The following are the important differences between Arrays and Collection.Sr. No.KeyArraysCollection1SizeArrays are fixed in size i.e once the array with the specific size is declared then we can't ... Read More

Difference between an Iterator and ListIterator in Java

Nitin Sharma

Nitin Sharma

Updated on 16-Sep-2019 11:31:47

1K+ Views

Java provided these two interfaces to traverse the data one by one stored in a collection. The internal implementation of iterator and list iterator makes them differ apart but the main agenda of both the iterators is the same.The following are the important differences between Iterator and ListIterator.Sr. No.KeyIteratorListIterator1ApplicableIterator can ... Read More

Difference between a Static Queue and a Singly Linked List in Java.

Nitin Sharma

Nitin Sharma

Updated on 16-Sep-2019 11:10:29

860 Views

In Java List and Queue both are introduced as an ordered list of objects, where the same object may be added more than once. The difference between both comes in the manner of adding elements. In the queue, all the elements get inserted at the rear and removed from the ... Read More

Advertisements