Nitin Sharma has Published 47 Articles

Difference between print() and println() in Java

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 14:23:00

5K+ Views

As we know in Java these both methods are primarily used to display text from code to console. Both these methods are of PrintStream class and are called on static member 'out' of 'System' class which is a final type class.The following are the important differences between print() and println().Sr. ... Read More

What is the difference between ODBC and JDBC

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 14:22:22

11K+ Views

Both ODBC and JDBC are the programming interface that is required by the applications at the client side to access the database at server side. Basically both are known as drivers to get connected with a database and are provided by the vendors of RDBMS.The following are the important differences ... Read More

Difference between Java and JavaScript.

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 14:18:20

756 Views

As we know both Java and javascript are the programming languages and used in application development. But there are significant differences between both of the languages which we will discuss below.The following are the important differences between Java and JavaScript.Sr. No.KeyJavaJavaScript1Language TypeJava is primarily an object-oriented programming language that requires ... Read More

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

Nitin Sharma

Nitin Sharma

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

2K+ 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 var and let in JavaScript

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 13:47:28

3K+ Views

As we know in order to declare a variable in javascript we have two options either declare with var or declare with let. Now the question is when to use var and when to use let i.e what are the major difference between both.In the following text we come to ... 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

474 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

2K+ 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

944 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 concat() and + operator in Java

Nitin Sharma

Nitin Sharma

Updated on 18-Sep-2019 11:53:23

1K+ Views

Java provides two ways in order to append strings and make them one. These two methods are namely Concat() method and + operator. Both are developed for the same functionality but still have some major differences.The following are the important differences between concat method and + operator.Sr. No.Keyconcat method+ operator1TypeAs ... 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

Advertisements