Java J2EE Interview Questions
Questions Answers Views Company eMail

Which is the better framework for web applications, struts or spring, and why?

IBM, TATA,

1 3919

Java support call by reference (pass by reference) ?

HCL,

1 3837

How to deploye the java application in web logic server please brief explain with screen shot please help me ?

4 7441

What is private static final long serialVersionUID = 1L;

Google,

3 15257

System.out & System.in are final static data member of System class but we can change there reference through setOut() & setIn() method how...

FCS, TCS,

2 5030

difference between vectorlist and hash

TCS,

1 3550

Does WLS supports CORBA?

Cap Gemini,

2 7102

why HashTable not allow null key and value

Crimson Logic,

2 21299

why string constant pool in java

TCS,

2 7952

why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

Polaris,

2023

why top level class could not be static

L&T,

3 11676

The following program is Overloading or Overriding? public class PolymorphismEx { public int sampleMethod(int a) { return a; } public String sampleMethod(int a) { return "Is it Overloading or Overriding???"; } }

Ness Technologies, TCS,

4 6090

I Have a class abstract with one abstract method, so that method should override in the subclass, but i dont want to override, if i am not override what will happen? If compilation will occur then i dont want to give compilation error, then what we need to do??? See the sample program. public abstract class AbstractExample { public abstract void sampleMethod(); } public class AbstractExampleImple extends AbstractExample { }

Mphasis,

2 5102

what is the use of module in weblogic

Polaris,

1 2595

is it mandatory to deaclare all variables public static fianl in interfaces?if i declare like in the below program, public interface A { public static final int I=0; int j=0; } in interface A,what is the difference between I,j?

2 3390


Un-Answered Questions { Java J2EE }

How can you write a loop indefinitely in java programming?

553


What is the difference between hashset and treeset in java?

542


Different types of hibernate instance states?

208


Which Java and java.sql data types map to my specific database types?

542


Explain look for local ports?

580






What is the use of dialect?

570


What is purpose of applet programming?

640


Is null a string?

558


Why convert an applet to an application?

620


What is file in java?

562


What is the use of hbm2ddl configuration in hibernate?

160


What is the difference between Java and C++?

615


which protocol it user to connect manage server to admin ? where it is defined ?

7416


What comes to mind when someone mentions a shallow copy in java?

662


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? : BEA Weblogic

609