Java Related Interview Questions
Questions Answers Views Company eMail

Program to Find the second largest element in an array.

Amazon,

580

Print Vertical traversal of a Binary Tree.

Amazon,

601

Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

Amazon,

845

Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

Amazon,

617

Add a value x to array from index l to r where 0 <= l <= r <= n-1

Amazon,

618

Implement a stack with push (), pop() and min() in O(1) time.

Amazon,

622

Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

Amazon,

531

Convert Binary tree to linked list.

Amazon,

580

Convert a BST into a DLL and DLL to BST in place.

Amazon,

660

worst case complexities of Quick sort and Merge sort.

Amazon,

590

What do you mean by hashing?

Amazon,

641

What is the definition of tree ?

Amazon,

584

When can you say a graph to be a tree?

Amazon,

633

What do you mean by constant time complexity?

Amazon,

594

Write a program to show whether a graph is a tree or not using adjacency matrix.

Amazon,

586


Un-Answered Questions { Java Related }

How many arguments can be passed to main ()?

518


What are the technologies that are supported by hibernate?

226


What is j2ee technology?

542


Find Best Job Vacancies across the world on Jooble!

95


Explain how can we upload files in struts2 application?

615






What are the ways to access hibernate by using spring?

205


Are enterprise beans allowed to use thread.sleep()?

643


What differences exist between iterator and listiterator?

561


What is the difference between get and load method?

158


Who is at risk in java? : java security

493


A client wants to preserve the reference to the ejbhome object of an enterprise bean instance and use it later. Which of the following can be serialized for this purpose?

523


How does the @requestmapping annotation work?

172


What do you mean by global variable?

520


What is hibernate and how it works?

147


How to create applicationcontext in a java program?

175