class main { publis static void main(String[] args) { System.out.println("Hello"); } } Use SOLID principle of Liskov substitution principle where break functionality, later will correct it.
Sr Java Developer Interview Questions
5,575 sr java developer interview questions shared by candidates
mostly about java, javascript and processes
Duplicate num using java 8
how many methods are in Object class, why java allow to write Abstract class with any method( abstract or non abstract) such type of foolish questions., how to set data in final class etc. Worse company as per my experience.
Basic questions based on there requirements
List<String> list = new ArrayList<String>(); System.out.println(list.get(0)); what will be the output what type of ioc container in spring where we can use @bean and @ component what will happen if we do not provide constructor private in Singleton
What's the relationship between equals and hashCode methods in Java?
What Java collections used in project.
How to solve stock problems when you have 2 itens and three people put the item on the cart.
They asked about Jvm profiling
Viewing 891 - 900 interview questions