Q. What is the difference between Singleton and Immutable object
Java Programmer Interview Questions
26,888 java programmer interview questions shared by candidates
Question: Write pseudo code to validate and evaluate a given arithematic expression Example: a+(b*c)+(d/e) If the input is syntactically wrong, display an error message else display the result
Question: Write a simple query to show data in a single resultset. Resultset should have department table data first order by deptname and followed immediately by sub-department table data also ordered by deptname. Both tables data should be wrapped in a single resultset, with the above criteria.
what is the output public class Barclays { static class A{ A(){ f(); } public void f(){ System.out.println("A ctor"); } } static class B extends A{ B(){ f(); } public void f(){ System.out.println("B ctor"); } } public static void main(String[] args) { B b = new B(); b.f(); A a = new A(); a.f(); } }
Write a method to remove even numbers from list without using any other collection.
Draw merge sort on paper.
1. Java 8 questions 2. Overloading, overriding 3. Exception 4. Internal working of java 8 stream api 5. Java 8 date & time que and internal working Overall easy questions, basic core java interview questions Client interview - hashmap , linked hashmap internal working
How concurrent Hashmap works ?
What is the difference between String Builder and String Buffer
Program : find duplicate string from list
Viewing 311 - 320 interview questions