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(); } }
Java Support Analyst Interview Questions
30,885 java support analyst interview questions shared by candidates
program
Spring default scope
-Can a class be final? - Difference between Application context and bean factory?
You have a birthday cake and have exactly 3 cuts to cut it into 8 equal pieces. How do you do it?
Write a method to remove even numbers from list without using any other collection.
Draw merge sort on paper.
What is the difference between String Builder and String Buffer
write SQL query to get the Sixth minimum salary
Viewing 341 - 350 interview questions
See Interview Questions for Similar Jobs
Java SupportSoftware Engineer JavaJr Java DeveloperSoftware Engineer Java DeveloperSoftware Java EngineerSenior Java Software DeveloperSr Java DeveloperJunior Java Software EngineerLead Backend DeveloperSenior Java Software EngineerJava EngineerSenior Java J2ee DeveloperSenior Software Engineer JavaBackend Java DeveloperSenior Java EngineerJunior Java Web DeveloperJunior Java EngineerSenior Software Engineer Java Developer