interview questions Archive
Marker Interface in java is an interface with no fields or methods. It is used to instruct to the JVM for specific task or special behavior for those classes whose implementing marker interface. Marker interface …
Java is pass by value and not pass by reference i.e. Java copies and passes the reference by value, not the object. Thus, method manipulation will alter the objects, since the references point to the …
Whenever we are using ORM like Hibernate, there are two from many others methods save() and persist() using to save object to database. But these two methods have the differences in functionality. And also difference …
How to implement queue functionality into stack? As Queue has nature First In First Out (FIFO) i.e. any item insert into Queue arrange such way whenever we will fetch the item from queue we will …
It many times asked question in the programming interview. We have an array of integers and a given number so we have to find all pair in the array whose sum is equal to a …
There is one of two questions I have face in the Hackathon Delhi in the amazon hiring process. Problem: Given an array of integers, which can contain both +ve and -ve numbers, you have to …
Recently I have attended one Hackathon event organized by the Amazon in the Delhi. In this event I have face two technical problems as below. Permutations of String Product Maximization Problem There is one of two problems I …