Program for Reverse string without using inbuild function
Java Software Developer Interview Questions
3,069 java software developer interview questions shared by candidates
What will be the output of the following program ? class Parent { public void display () { System.out.println ("Parent"); } } class Child extends Parent { public void display () { System.out.println ("Child"); } } class Main { public static void doDisplay (Parent p) { p.display (); } public static void main (String[]args) { Parent a = new Parent (); Parent b = new Child (); Child c = new Child (); doDisplay (a); doDisplay (b); doDisplay (c); } }
1st explains about your background. Then based on your background they will ask how you do it. For example, i said i solve security issue, then they asked how i solve it.
2nd they asked about spring boot question. they ask how i handle exception. how i do log. how do i do debugging.
They gave me a string an asked to write a program to check the max no of times two consecutive characters were repeated and also get the characters that were repeated.
1. why left the last company, 2. some questions about the past working experience 3. other questions i forgot
More likely to ask your experience and technology you are currently use.
Tell us is exception handling?
core Java , opps, collection framework
1 - What is garbage collector and how it works internally? 2 - difference between hashmap and concurrent hashmap 3 - Explain the Java memory model
Viewing 2161 - 2170 interview questions