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 51278

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 5837

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

Wipro,

6 6379




What is an abstract class?

Wipro,

7 5313

How can final class be used?

Wipro, Accenture,

4 7130

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

Wipro,

1 8314

Java support what type of parameter passing ?

Wipro,

7 9633

Explain the term serialization?

Wipro,

10 7713

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

Wipro,

10 8976

What is Overriding and how can it be used?

Consagous, Wipro,

7 11837

How is serialization used generally ?

3 3304

How are Swing and AWT be differentiated?

Wipro,

3 4965

Explain pass by reference and pass by value?

IBM, Wipro,

8 9666

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 6117

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 28122







Un-Answered Questions { Java J2EE }

In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

1056


what is mean by OLE ? Please answer me. Advance thanks.

1272


for example we are login into the irctc server from there it will go to the selected bank and deduct amount and come back to the irctc. so if we are developing this in java means will it be run on the same session. but as per my knowledge bank is separate and irctc is separate URL's so it will use two different sessions then how it is maintaining same session through out application and even it uses the payment gateway? how it is working can any one help me on that??

2616


What happens to the Exception object after handling an exception?

831


how come we know the object is no more used in the class?

3686


any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.

936


how to prepare for IT Officers Interview in Banks

610


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.

726


What is colon_pkg_prefixes and what is its use?

1067


What is the form of storage space in java?

874


What is correlated subquery?

847


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

1099


Where we can write Rmi registry in the code, without having to write it at the command prompt?

1171


Hi Friends. I want complete technical flow of j2ee project with following technologies. jsp , servlet , Struts , Hibernate , (should follow mvc-2 design pattern) . with DAO ,DTO SERVICE layers .

3339


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

2032