Java J2EE Interview Questions
Questions Answers Views Company eMail

What is garbage collection in Java, and how can it be used ?

Infosys, HCL, Accenture, Wipro, Sara, SITS,

32 49503

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

5 5308

Differentiate constructor and a method and how are it be used?

Wipro,

6 5757




What is an abstract class?

Wipro,

6 4729

How can final class be used?

Wipro, Accenture,

4 6648

By what default value is an object reference declared as an instance variable?

Wipro,

1 7845

Java support what type of parameter passing ?

Wipro,

7 9084

Explain the term serialization?

Wipro,

10 7205

Is there is any error if you have multiple main methods in the same class?

Wipro,

10 8374

What is Overriding and how can it be used?

Consagous, Wipro,

7 11392

How is serialization used generally ?

3 2855

How are Swing and AWT be differentiated?

Wipro,

3 4783

Explain pass by reference and pass by value?

IBM, Wipro,

8 9233

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 5677

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 25895







Un-Answered Questions { Java J2EE }

can any body body expalin best definitions & best real time exaples for opps concepts.

789


what are the disadvantages of indexes in oracle?

822


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

1256


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

678


How to Sort Strings which are given in List and display in ascending order without using java api.

2108


what is mena by object block any what is the use of that

754


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

125


Explain the steps in details to load the server object dynamically?

3301


How messaging services are done, before release of JMS?

576


what is mean by hasing and maping in java platform and advantage?

721


please tell me the name and url path for type-4 driver ?

1190


what are memory considerations of jsp compares to other web components?

3163


what is a non-repeatable read?

794


what is meant by JRMP?

854


How do you sing an Applet ?

820