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, TCS,

32 55680

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 7422

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

Wipro,

7 7969




What is an abstract class?

Wipro,

7 6788

How can final class be used?

Wipro, Accenture,

5 8687

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

Wipro,

1 10053

Java support what type of parameter passing ?

Wipro,

7 11306

Explain the term serialization?

Wipro,

10 9114

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

Wipro, Infosys,

10 10481

What is Overriding and how can it be used?

Consagous, Wipro,

7 12991

How is serialization used generally ?

3 4143

How are Swing and AWT be differentiated?

Wipro,

3 5512

Explain pass by reference and pass by value?

IBM, Wipro,

8 11289

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 7248

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 34833







Un-Answered Questions { Java Related }

How task's priority is used in scheduling?

989


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%.

1020


when i m calling java for web browser . so browser it's not support. show error in browser: internal error occur. java.lang.NoClassDefFoundError. will you give me solution why it's not starting browser.? is there any consult with .net framework2.0?

892


How to determine SGA site?

1072


how to run ecllipse with jettyserver for windows environment using batch file

791






How entity beans support container managed persistence?

1270


How to display names of all components in a Container?

1746


how to prepare for IT Officers Interview in Banks

767


How may messaging models do JMS provide for and what are they?

342


difference between byte stream class and character stream class?

3194


How vendor Naming registry supports JNDI?

1093


how to use debug in my elipse to solve problems that exist in my project

938


How to implement RMI in Java?

1635


What is the advantage of Servlets when compared with other server side technologies?

1118


What is the form of storage space in java?

999