0% found this document useful (0 votes)
5 views3 pages

Java Questions Improtant

questions

Uploaded by

Ankita Kumari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Java Questions Improtant

questions

Uploaded by

Ankita Kumari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 3

tudy for tech interviews

Study for tech interviews

• Builder pattern and other design patterns


• SOLID principles
• Factory design pattern
• Domain driven design
• Get vs Load in Hibernate
• SOAP vs REST
• What is idempotent in REST API
• Method callback
• How do you configure Spring JPA or Hibernate in SpringBoot
• How do you change server port in SpringBoot
• How do you change embedded server in SpringBoot
• How do you handle exception in JSP
• Try with resources
• How to exclude classes from SpringBoot scanning
• Rank syntax in SQL
• Concurrent Map in Java
• How do you follow the flow of a request in REST web service?
• Linkedlist in java implementation
• Internal working of Set/HashSet in Java
• Compile time exception Java
• Hierarchy of exception in java
• How is statelessness beneficial in REST?
• What is the use of SessionFactory in Hibernate?
• If you want to serialize only some attributes of a class, how would you do it? Ans -
use transient keyword
• What are three different states of an object in Hibernate. Ans - Something like
transient, persistent etc
• Thread start vs run
• How do you do performance monitoring
• How would you resolve errors and crashes without logs
• How would you resolve a deadlock
• How to manage concurrency
• Meaning of CI and CD
• Test Driven Development
• Serverless architecture
• Login authentication on Spring and other ways
• How to restrict access to application from unauthorised users
• Integration testing and how to do it
• How does code from Git goes to build pipeline
• What do you understand by REST
• Reactive Development
• Design patterns
• Jenkins
• What is MVC architecture
• Common algorithms such as traversals, divide and conquer, breadth-first search
vs. depth-first search
• Quick sort algorithm
• Merge sort algorithm
• JavaScript API
• Trigger in SQL
• SVN conflict
• string memory allocation in java
• Error in Java
• Comparable and Comparator
• Rank and Dense Rank in SQL
• Generics in Java
• Find nth highest salary from Employee
• Can class be static
• Shallow and Deep Copy
• Functional interface
• Spring functionality for DB transaction rollback
• Threads
• How to compare two strings
• Savepoint in PLSQL
• Difference between default and protected access specifier
• Remove duplicates in SQL
• Group by
• Difference between union and Union all
• Servlets and lifecycle of a servlet
• There is an Employee table and a Dept table linked by Dept ID. Fetch only
employee with the highest salary in each department.
• Working of a hashmap
• Java memory management
• Life cycle of a servlet
• Life cycle of jsp
• How to compare objects
• Data structures
• Singleton class
• Find if a given sum exists in an array of numbers
• Sort a collection of objects
• Just in time Compilation
• Working of JVM
• How is Java platform independent
• Syntax to initialise an array
• Combine two arrays
• Array of arrays
• Program to transpose a matrix
• INSTR function in SQL
• SUBSTR function in SQL
• Conflict in pom.xml (what if two versions of the same dependency is written)
• Annotations in Spring Boot
• How do you start Weblogic server
• What to do if Weblogic says the port is already in use but you are unable to
access it
• If System.exit() in catch block, will next method be executed
• Configuration for Spring and Spring Boot
• How do you initialise a Spring application
• How do you call a SQL procedure in JPA
• Junit
• Serializable

You might also like