Java Related Interview Questions
Questions Answers Views Company eMail

What is garbage collection in Java, and how can it be used ?

Infosys, HCL, Accenture, Wipro, Sara, SITS,

32 49503

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

5 5308

Differentiate constructor and a method and how are it be used?

Wipro,

6 5757




What is an abstract class?

Wipro,

6 4729

How can final class be used?

Wipro, Accenture,

4 6648

By what default value is an object reference declared as an instance variable?

Wipro,

1 7845

Java support what type of parameter passing ?

Wipro,

7 9084

Explain the term serialization?

Wipro,

10 7205

Is there is any error if you have multiple main methods in the same class?

Wipro,

10 8374

What is Overriding and how can it be used?

Consagous, Wipro,

7 11392

How is serialization used generally ?

3 2855

How are Swing and AWT be differentiated?

Wipro,

3 4782

Explain pass by reference and pass by value?

IBM, Wipro,

8 9233

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 5677

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

20 25893







Un-Answered Questions { Java Related }

what is mission in weblogic

4957


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

668


can u draw class/object diagram for ATM

4456


in EJB diclare the static methods are not?

1784


Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword

638


Write a program for the problem: the array of inetegers indicating the marks of the students is given, U have to calculate the percentile of the students aaccording to this rule: the percentile of a student is the %of no of student having marks less then him. For eg: suppose Student Marks A 12 B 60 C 80 D 71 E 30 F 45 percentile of C = 5/5 *100 = 100 (out of 5 students 5 are having marks less then him) percentile of B = 3/5*100 = 60% (out of 5, 3 have markses less then him) percentile of A = 0/5*100 = 0%.

782


How to determine, that beans are TX or not?

700


difference between  ejb,struts,hibernate,spring and jsp

873


Explain how data flows from view to db and reverse

719


code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)

2983


How a component can be placed on Windows?

1232


How do you download stubs from Remote place?

398


How database connectivity in XML is achieved?

818


create a menu which has the following options:cut-can be on/off,copy-can be on/off,paste-can be on/off,delete-can be on/off,select all-put all4 options on,unselect all-put all 4 options off,using event handling in MIDP application

3151


what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();

2443