Thursday, 6 April 2017
Java Collection Basic Questions Part 4
1) How HashMap works in Java ? HashMap works On principle of Hashing.but it is not as simple as it sounds. Hashing is the mechanism of as...
Monday, 27 March 2017
Internal Implementation of HashMap
Internal Implementation of HashMap
Hash Map is one of the most used collection, though it will be surprising to know that maps themselves are not collections because they don...Tuesday, 14 March 2017
JDBC Interview Questions
JDBC Interview Questions
1) What is JDBC? Java Database Connectivity (JDBC) is an application programming interface (API) for Java, which defines how a client m...Sunday, 12 March 2017
Java Collection Basic Questions Part 3
Java Collection Basic Questions Part 3
1) What is the importance of hashCode() and equals() methods? You must override hashCode() in every class that overrides equals(). Fail...Friday, 3 March 2017
ExceptionHandling with MethodOverriding
ExceptionHandling with MethodOverriding
An overriding method (the method of child class) can throw any unchecked exceptions, regardless of whether the overridden method (method...Wednesday, 1 March 2017
Java Collection Basic Questions Part 2
Java Collection Basic Questions Part 2
The Java Collections API's provide Java developers with a set of classes and interfaces that makes it easier to handle collections of...Tuesday, 21 February 2017
Java Collection Basic Questions Part 1
Java Collection Basic Questions Part 1
1) What is Collection ? A collection — sometimes called a container — is simply an object that groups multiple elements into a single un...Tuesday, 14 February 2017
Multithreading Interview Questions
Multithreading Interview Questions
1) What is the difference between Process and Thread? A process is a self contained execution environment and it can be seen as a program...Monday, 13 February 2017
Why wait(), notify(), notifyAll() must be called inside a synchronized method/block
Why wait(), notify(), notifyAll() must be called inside a synchronized method/block
We use wait(), notify(), or notifyAll() method mostly for inter-thread communication in Java. One thread is waiting after checking a condi...Thursday, 9 February 2017
How does clone method work
How does clone method work
java.lang.Object provides default implementation of clone() method in Java. It's declared as protected and native in Object class, so i...Tuesday, 7 February 2017
String Interview Questions
String Interview Questions
1) What is string constant pool? String objects are most used data objects in Java. Hence, java has a special arrangement to store t...
Subscribe to:
Posts (Atom)
