J2EE Interview Questions
Questions Answers Views Company eMail

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 5434

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

Wipro,

4 8100

what is direct link to download swing ebook,applet,ejb,core java

2057

how to run servlet program between two computer through internet ?

TATA,

2532

what is the difference between servlets and jsp?

Cegonsoft,

2 6269

what is the difference between application server and web server?

Cegonsoft, IBM,

5 9722

what is meant by proxy server

1 4147

Which implicit object in jsp is synchronized?

5 9106

What is the use of RequestProcessor, if we are having ActionServlet in struts

Oracle,

4 14861

static variable is a class variable which value remains constant for the entire class?? variable means value is changed....hear value is not changed... why it is called static variable

Infosys,

5 8557

Write a program for Sum of the digits for a given number Ex: suppose user entered Number is 1214, It should calculate the above number like 1+2+1+4 = 8

Amazon,

2 6284

Write a program to display numeric value in reverse order. Ex: I have given a number like 7584, It should display in reverse order like 4857.

6 7064

write a program, when a statement is entered, it should display in reverse order. Ex: Statement is "I am writing program in reverse order". Output should be like "order reverse in program writing am I".

4 9554

Difference between treemap & sortedset

Oracle,

3 10877

Diffrence between arraylist and hashmap

Oracle,

3 6801


Post New J2EE Questions

Un-Answered Questions { J2EE }

What is java ee sdk?

471


What is main method in java?

490


Why is java used?

500


What is j2ee module?

577


What is interpreter in java?

442






What is client-certificate authentication?

534


What is wildfly java?

465


Explain jta, jndi, and jms.

601


What spring is in related to j2ee?

508


What is layout in java?

452


Difference between save and saveorupdate?

498


Which is best eclipse for java?

474


How do I run java?

465


Who generates bytecode in java?

492


What is ejb jar file?

453