If you are working on Enterprise applications, I am sure that JDBC API is a part of it. JDBC API provides database connectivity for relational databases, such as MySQL and Oracle. This article has a collection of 40+ interview questions related to the JDBC API. They cover areas from basic...
Java 8 has been released in March 2014, so it’s one of the hot topics in java interview questions. If you answer this question clearly, it will show that you like to keep yourself up-to-date with the latest technologies. Java 8 has been one of the biggest releases after Java 5 anno...
Why this interview question?For better or worse, a lot of high-performance Java code will need to be multithreaded. However, writing correct multithreaded code that is safe from deadlocks and race conditions is notoriously difficult. That’s why this question is one of the java interview ...
[Multi threading Interview Question ]Rate Limiter Implementation in java There was one interesting problem I have encounter while preparing for a multithreading coding interview. Question: We have an application for which we need to implement RateLimiter, Rate Limiter is an interface which will pla...
11. Can you write critical section code for singleton? This core Java question is followup of previous question and expecting candidate to write Java singleton using double checked locking. Remember to use volatile variable to make Singleton thread-safe. check 10 Interview questions on Singleton Pat...
Dear readers, the app for java developers! The app include bible of all java,best for java developers & interview. ---these Java Interview Questions have been…
// Appropriate method-related code. } E.g. Synchronizing a block of code inside a function: public myFunction (){ synchronized (this) { // Synchronized code here. } } 4What is Collection API? The Collection API is a set of classes and interfaces that support operation on collections of...
In this post, we will try to cover some related interview questions on HashMap and ConcurrentHashMap. 1. How to Design a Good Key for HashMap The very basic need for designing a good key is that “we should be able to retrieve the value object back from the map without failure“, ri...
Executes ajsrto the code for thefinallyclause. Upon return from thefinallyclause, returns the value saved in the local variable. Code example: public static void main(String[] args) { System.out.println(f(2)); } public static int f(int value) { ...
I have tried to put links to web pages where you can refer for answers to below interview questions. They may not be enough to cover the topic, but they will give you a start. 1. First Round (Telephonic) 1. Can you please just start telling about yourself and your project?