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(); } }
Desarrollador De Aplicaciones Java Interview Questions
26,912 desarrollador de aplicaciones java interview questions shared by candidates
How concurrent Hashmap works ?
Spring default scope
-Can a class be final? - Difference between Application context and bean factory?
1. Implement Comparable Interface? 2. Write a Employee class and sort its properties age and Emp name? 3. How actually hashmap works in Java? 4. How the size of ArrayList grows dynamically?
Write a method to remove even numbers from list without using any other collection.
program
You have a birthday cake and have exactly 3 cuts to cut it into 8 equal pieces. How do you do it?
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
Program : find duplicate string from list
Viewing 311 - 320 interview questions