Core Java 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 54073

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 6857

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

Wipro,

6 7401




What is an abstract class?

Wipro,

7 6243

How can final class be used?

Wipro, Accenture,

5 8128

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

Wipro,

1 9415

Java support what type of parameter passing ?

Wipro,

7 10769

Explain the term serialization?

Wipro,

10 8592




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

Wipro, Infosys,

10 9890

What is Overriding and how can it be used?

Consagous, Wipro,

7 12567

Explain pass by reference and pass by value?

IBM, Wipro,

8 10638

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 6819

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

21 32380

Is there any need to import java.lang package?

Sun Microsystems,

13 13849

What is UNICODE?

3 3899


Post New Core Java Questions






Un-Answered Questions { Core Java }

I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in

722


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

717


what is the use of bean managed and container managed with example?

791


how to write a server program and sending the mails to the server using smtp protocol please help me

731


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

766


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

2212


Tell me about your ability to work under pressure

893


what is ststic with example

786


hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea

695


what is bmg file and how to create that files?what will it contailn?

946


what type of questions asked for barclays technologies pune please send urgent

4219


What are the restrictions imposed by a Security Manager on Applets?.

1218


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

582


How to provide security in java

927


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

697