- Can Interface have static methods?
- What's difference between Interface with default method and Abstract class?
- If java is not allowing creating default method in Interface then what is use of abstract classes?
- Can a class have method with same name as that of constructor?
- Try{} finally{} will it work without a catch statement?
-
try{ return 1; } finally{ return 2; }
What will be the output? - Compilation error
- 1 will be returned
- 2 will be retruned
- Unreachable return statement
- What is difference between String equals and ==
- Design problem - You have a remote DB having millions of records on which we have no control and you need to query it for data like you send id and wait for a value which hours to return. How will you get around this situation. You can replicate whole remote DB as it has trillions of data.
- Design problem: You show the stock and prices. There are bunch of stocks who's price may change every millisecond. You are pulling this info from other DB, where you have no control.
- Design problem - Design a snake and ladders game. Tell what data structure you will use.
- Can you override a static method?
- How Hashmap works?
- What java collections you have worked with?
- What is difference between ArrayList and LinkedList
- What is difference between @RestController and @Controlle
- Which modules you worked on?
- What benefits spring jdbc provides over jdbc?
- what happens if the request is sent on the server.
- How can you control what loads when in an ExtJS page.
- HTML life cycle
- Javascript Singleton vs. observer
- Ext JS version 5 vs. 4.
- What is MVC and how it is useful?
- What is lazy loading?
- How do create and object and extend it?
- Can you extend a singleton object in javascript?
- What is difference between having and where clause.
- Can you have where, group by and having together
- What does spring boot provide? convention over configuration, get you up and running quickly, stand-alone production grade apps
- How to avoid serialising a subclass?
- How many objects will be created in sb.append(“Ram”).append(“shyam”).append(“mohan”);
- What is supper interface of collection?
- What characteristics Employee need to have to be candidate for hashmap keys?
- Immutable, equals, hashmap
- Whats new in Java 7?
- What is executer & executers?
- What is difference between Cylindrical and….latches
- What is adapter design pattern - How will you achieve ListIterator functionality with Iterator?
- Hibernate:
- Diff. between get and load?
- What is detached, how to reattach?
- Spring:
- how to provide dependancy of type prototype to singleton?
Friday, July 27, 2018
Java & Spring Interview Questions
Subscribe to:
Post Comments (Atom)
Calculating Server Capacity: A Comprehensive Tutorial
In this tutorial we will explore the process of calculating server capacity. Let's get started. Understanding Server Capacity Identifyi...
No comments:
Post a Comment