Implement singleton design pattern in java
Sr Java Developer Interview Questions
5,581 sr java developer interview questions shared by candidates
thread, thread safe objet, basic core java questions
Solving of java back-compatibility problems.
thread - start vs Run
oops, springs, GIT, Bit bucket, Jenkins
Hash Collision
"public class Prize { public static void main(String args[]) { int x = 111, y = 101; switch ( y) { case 1 : System.out.println(""-1-""); case 101 : System.out.println(""-101-""); case 111 : System.out.println(""-111-""); case 010 : System.out.println(""-010-""); default : System.out.println(""-"" + x & y + ""-""); } } }" "public class Demo{ public static void main(String[] arr){ Integer num1 = 100; Integer num2 = 100; Integer num3 = 500; Integer num4 = 500; if(num1==num2){ System.out.println(""num1 == num2""); } else{ System.out.println(""num1 != num2""); } if(num3 == num4){ System.out.println(""num3 == num4""); } else{ System.out.println(""num3 != num4""); } } } " Write a program to print natural number using two threads odd and even number by order
1. convert given string as per requirement. abc123 need to be convert 012onetwothree 2. sort given array 3. find given number into given array 4. read file and write content into other file using multithreading 5. prove stringbuffer is better than string in terms of performance and memory 6. read XML file and convert its values into collection list.
Q. How caching is done, how code migration is done to higher lifecycles, do you use mockito for testing or directly hit database, have u used triggers or indexes.
create a rock paper scissors game
Viewing 2101 - 2110 interview questions