Java Related Interview Questions
Questions Answers Views Company eMail

Explain the selection sort algorithm and state its time complexity?

Flextronics,

593

Give me an example of array and linked list? Where they can be used?

Ericsson,

547

What is meant by 'bit masking' in java?

DELL,

638

If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

CDAC,

584

What is an interoperable application in java ?

HCL,

579

These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

HCL,

593

What is the difference between Error, defect,fault, failure and mistake?

HCL,

650

What are assertions in java?

Impetus,

1 1292

How are java objects passed to a method and what are native methods?

Genpact,

585

What is scope & storage allocation of global and extern variables? Explain with an example

IBS,

573

Explain with example the concept of constant variable in java.

HCL,

615

what is the purpose of "virtual"?

EDS,

561

What is the reason behind using constructors and destructors?

HCL,

548

Detail discussions on JVM, memory management and garbage collector.

Expedia,

548

How can we make a class virtual?

Fidelity,

632


Un-Answered Questions { Java Related }

What is square root in java?

582


What is the use of @autowired annotation in spring?

158


How a spring is formed?

150


What is an interface in java? Explain

567


Explain something about emspot?

574






Can anonymous class have constructor?

543


List the Different types of servlet?

573


What is the difference between open session and get current session?

181


What’s the difference between @controller, @component, @repository, and @service annotations in spring?

151


How primary key is implemented in Oracle?

1906


What is use of functional interface in java 8? Explain

559


What is spring mvc interceptor and how to use it?

159


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

499


How the aop used in spring?

149


What is named native query in hibernate?

168