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 3903

Java support call by reference (pass by reference) ?

HCL,

1 3827

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

4 7415

What is private static final long serialVersionUID = 1L;

Google,

3 15235

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 5007

difference between vectorlist and hash

TCS,

1 3540

Does WLS supports CORBA?

Cap Gemini,

2 7084

why HashTable not allow null key and value

Crimson Logic,

2 21278

why string constant pool in java

TCS,

2 7934

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

Polaris,

2015

why top level class could not be static

L&T,

3 11642

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 6053

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 5077

what is the use of module in weblogic

Polaris,

1 2577

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 3373


Un-Answered Questions { Java J2EE }

What is use of set in java?

486


Can anonymous class have constructor?

546


What do you mean by thread safe?

533


What is dynamic binding(late binding)?

578


How should you type cast a remote object? Why?

542






What are the two categories of data types in the java programming language?

500


Why is the main method static?

593


What is jfc swing in java?

520


Is jpa better than hibernate?

165


What are difference between dmgr and other profiles?

462


How do you find the struts version being used in a project?

508


How do I prevent errors when running t3dbping? : BEA Weblogic

467


What is the argument in java?

487


How to run a JAR file through command prompt?

708


What is the difference between weblogic and websphere?

435