Java J2EE Interview Questions
Questions Answers Views Company eMail

what is type of statement in jdbc connection?

3 4292

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

2 9420

What are the types of classes in java?

HCL,

4 7836

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 3836

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

Polaris, TCS,

2 7662

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?

2320

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

Photon,

6 7059

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 3761

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 5475

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

Wipro,

4 8127

What is the difference between interpreter and compiling ?

TCS,

2 3392

What is the difference between interpreter and compiling ?

TCS,

7 7074

what is platform

i3 Solutions,

2 3472

what is platform native code

i3 Solutions,

2 4385

what is language and it responsibilities

1 2687


Un-Answered Questions { Java J2EE }

What is the use of network interface?

502


Match the ejb functions given below with the functionality equivalent in sql? : BEA Weblogic

529


What is a target?

169


What is Publish/Subscribe approach?

1026


What are the modules of spring?

163






What is the synonym of procedure?

528


What is SSL in weblogic ?

555


What is meant by oops concept in java?

502


What is hibernate sessionfactory and how do you configure it?

173


What is the use of dispatcher servlet?

164


What is webapplicationcontext?

169


What is the use of ioc in spring?

152


What is qualitative variable?

520


Differentiate between a class and an object.

560


How can I manage special characters when I execute an insert query?

514