Java J2EE Interview Questions
Questions Answers Views Company eMail

what is type of statement in jdbc connection?

3 4277

In strurt why w use two differnt files web.xml and strut config.xml?

2 9401

What are the types of classes in java?

HCL,

4 7827

i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)

2 3831

can anybody tell.what is the difference between Forward Action and Action Forward?

Polaris, TCS,

2 7655

What is Generic in java? Where can we write Generic ( class or method or objects or etc...)? with simple example? Thanks, Bose. Infosys 2 In which way does a Primitive data type is passed ? Sun- Microsystems 4 what is the use of declaring constructor as private? Sai- Softech 5 what is difference between global methods and local methods? 1 What is meant by class loader and how many types are there? Apple 1 what is meaning of JIT? 4 What is an abstract class? Wipro 5 what is filters and its use? Virtusa 2 why is multiple inheritance not allowed in java? Elementus-Technologies 7 Differences between jdk 1.4 and 1.5 Wipro 4 is JVM platform dependent or independent..? IBM 6 what is main purpose of abstract class? 5 what is difference between colection and collections? Tech-Mahindra 11 What error occurs if a try-catch-finally statement sequence does not have a catch clause? 2 Explain the difference between scrollbar and scrollpane? 1 Explain the differences between public, private, protected and static? 4 Explain the difference between getAppletInfo and getParameterInfo? 1 Is Cegonsoft Pvt.Ltd. a good Institute? 4 Why only one Class is public in one file? Explain in details. Thanks in Advance. 11 Which method will get invoked first in a stand alone application?

2314

"Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions

Photon,

6 7042

What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference. (Note : Pls ignore syntx errors) public class One { sop ("Into One--"); } public class Two extends One{ sop ("Into Two--"); } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(One.a); sop(Two.a); sop(One.t); sop(Two.t); } }

Wipro,

2 3751

Whats the O/p of the below code snippet ? And explain how does it imply the concept of call-by-value/call-by reference. (PS : Pls ignore syntax errors) public class One { public oneA(){ sop ("Into One--");} } public class Two extends One{ public twoT(){ sop ("Into Two--"); } } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(a.oneA()); sop(t.oneA()); sop(a.twoT()); sop(t.twoT()); } }

Wipro,

4 5451

Explain the following statement: Java is always pass-by-value.

Wipro,

4 8115

What is the difference between interpreter and compiling ?

TCS,

2 3386

What is the difference between interpreter and compiling ?

TCS,

7 7059

what is platform

i3 Solutions,

2 3464

what is platform native code

i3 Solutions,

2 4382

what is language and it responsibilities

1 2680


Un-Answered Questions { Java J2EE }

What is extension method in java?

557


What is entity bean?

584


What is entity type mean?

155


Can hibernate id be string?

188


What is the default bean scope within spring?

146






What is difference between this and super keyword?

508


What is synchronization and why is it important?

537


What is lambda in java?

512


What is the default size of set in java?

496


How is java hashmap implemented?

541


Explain the performance tuning in jvm, jdbc, jms?

531


What is constructor chaining and how is it achieved in java?

564


When can you say a graph to be a tree?

633


How many categories of jdbc drivers are there?

480


Is a string literal?

517