Java J2EE Interview Questions
Questions Answers Views Company eMail

Why transient variables wont participate in serialization?

2 5131

what is ststic with example

Wipro,

1598

what is purpose of collections.unmodified() method..?

Accenture,

1 10767

what is purpose of writting public static void main(Strind arg[]) in java..?

ITC Infotech,

4 6155

What is the code inside the public void actionPerformed(ActionEvent ae) override method in Applet [ Condition:- you have one TextField and One Button , you have to enter any color name inside the TextField, when you click on Button Your background will change according to your input color name]

IBM,

2 9895

how to identify duplicate values in arraylist

TCS,

2 4420

Different between Struts and Spring? or Why use Spring, if you are already using Struts?

HP,

3 4830

Does Java pass arguments by value or reference?

HeadStrong,

5 7794

Difference between JRE and JVM?

HeadStrong, Infotech,

3 6148

Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.

HeadStrong,

4 6638

How will the struts know which action class to call when you submit a form?

HeadStrong,

6 7558

If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?

HeadStrong,

8 18868

Why use a datasource when you can directly specify a connection details? (in a J2EE application)

1 3461

Can we have more than one action servlet?

HP,

7 11935

what is the difference between through and throws?

HCL,

2 5725


Un-Answered Questions { Java J2EE }

What's the difference between int and integer in java?

537


Why is java important for internet?

462


Can a constructor be made final?

665


Who is responsible for writing a constructor?

779


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

515






What is the size of boolean variable?

575


Where do you define dispatcherservlet in spring?

254


Can string be considered as a keyword?

574


Why does java doesnt suuport unsigned values?

1798


Explain about token feature in struts?

558


What is the r character?

588


Explain request dispatcher and its methods.

583


What is cglib?

150


What is the use of the statement in jdbc?

496


Can interface be private in java?

544