Posts

Java SpringBoot Interview Question -2 to 3yr exp

  First Round 1.Why did you choose Java? 2.What are the features of Java? 3.What does “platform independent” mean? 4.What is the the difference between the == operator and the equals() method? 5.What is compile-time polymorphism? 6.What is OOP / what are the principles of OOP? 7.Are Collection, Set, List, Queue classes or interfaces? 8.What is the difference between List, Set, and Queue? 9.What is a Map in the collections framework? 10.What is the difference between HashMap and Hashtable? 11.What algorithms (or data structures) underlie the Java Collection framework? 12.If you have a large amount of data (e.g. millions of entries) and you need to perform update operations, which collection is most suitable? 13.What is the difference between arrays and collections? 14.What are varargs (variable arguments)? 15.What is the difference between String and StringBuffer? 16.If we create an object of a class, where is it stored (in memory)? 17.What is the DROP command in SQL? 18.What is the...