This document contains questions about various Java concepts including the four OOPs concepts, polymorphism, access specifiers, Java 8 features, interfaces, abstract classes, object creation, static blocks, static and non-static variables, executing code without main method, mutability, strings, string buffer and builder, multithreading, thread creation, serialization, exception handling, checked and unchecked exceptions, wrapper classes, collections, HashMap, Spring MVC controllers and mappings, autowiring, ORM, POJO classes, SQL joins, group by, order by, having clause, and aggregation functions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
23 views2 pages
Interview Questions
This document contains questions about various Java concepts including the four OOPs concepts, polymorphism, access specifiers, Java 8 features, interfaces, abstract classes, object creation, static blocks, static and non-static variables, executing code without main method, mutability, strings, string buffer and builder, multithreading, thread creation, serialization, exception handling, checked and unchecked exceptions, wrapper classes, collections, HashMap, Spring MVC controllers and mappings, autowiring, ORM, POJO classes, SQL joins, group by, order by, having clause, and aggregation functions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
1. What are the 4 oops concept?
2. Explain run time and compile time polymorphism.
3. What are the access specifiers in java 4. What are features of java 8 5. What is optional 6. What is interface in java. 7. Diff interface and abstract class. 8. Can we able to create object of interface or abstract class. 9. How to call method without creating object 10.What is static block. 11.What is the difference between static and non-static variables? 12.Can we execute code in java without writing main method? 13.Diff mutable and immutable? 14.Why string is mutable? 15.Diff string buffer and string builder? 16.What do you mean by Multithreaded program? 17.What are the two ways in which Thread can be created? 18.What is Serialization and deserialization? 19.What invokes a thread's run() method? 20.What is exception? 21.What is exception handling? 22.Difference between checked and unchecked exception? 23.Exples of checked and unchecked exceptions 24.What are Wrapper classes? 25.Diff array and linked list 26.If we want to store unique element than which type of collection you prefer 27.What is HashMap? Diff HashMap and linked HashMap? 28.What is difference between rest controller and Controller? 29.Diff Get and Request mapping 30.What autowired? 31.What is best practice for variable in java 32.What is ORM. 33.What Is POJO class. 34.What are the joins in sql 35.What is group by 36.What is order by 37.What is having clause 38.What are the aggregation function sql.