Ques
Ques
How does Garbage Collection prevent a Java application from going out of memory?
out of memory
how to make a class immutable
How to design a vending machine in Java?
How does calculator work?
Which is more efficient for searching, linked list or array
Code to find a missing number in an array
Code to find a repeated number in an array
collections, hashmap
design pattern
String immutable how do you create immutabl
hashcode
static and non static
concurrent hashmap vs
singleton vs immutable
Spring
sql
Deadlock
write code to find the First non repeated character in the String
write a Java Program to swap two numbers without using the third variable.
Stored procedure
new
Duplicate characters in string
1-10
second largest number
Swap number
hashcode
Encapsulation
------------------------------------
For a Core Java Developer , Questions around following topics should be good.
OOPs Concepts
Abstract Classes and Interfaces
Constructors
Overloading and Overriding
File IO and Serialization
Collections - List , Map , Set - Search, Sorting Algorithms
Access Specifiers
Exceptions - Checked , Unchecked
Generics
Java Keywords - static , final , volatile, synchronized , transient, this , super
etc.
JVM and Memory Management
MultiThreading and Synchronization
HashCode and Equals
Design Patterns
Dependency Injection
Reflection API
Java 8 features - Lambda Expressions , Default Methods.
If someone has to work on a Java based web application then he can be asked
questions around following topics -
JSP / JSF
Servlets / filters / Interceptors
Session Management / Transaction Management
JNDI
Architectures - n Tier, MVC
Web Frameworks like Struts / Spring
Service Oriented Architecture / Web Services - SOAP / Rest
Web Technologies like HTML, CSS, Javascript and JQuery
Markup Languages like XML and JSON.
Application and Web Servers
Caching
Cloud service (AWS, SoftLayer, BlueMix)
If someone has to work on Java UI, then questions around following can be expected
-
Applets
Frameworks like Swing, SWT, AWT
Advanced Frameworks like JavaFX
Every Developer is expected to have knowledge regarding the Data structures. If you
are applying positions for a product / system development companies, lot stress
will be given to these Questions.
Semantic monitoring,
implement a Spring Security in a Spring Boot Application?
-----------------------------------------------------------------------------------
------------------------------------------------------------
## Prodapt Interview Questions.