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 53611

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 6667

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

Wipro,

6 7199




What is an abstract class?

Wipro,

7 6076

How can final class be used?

Wipro, Accenture,

5 7917

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

Wipro,

1 9212

Java support what type of parameter passing ?

Wipro,

7 10550

Explain the term serialization?

Wipro,

10 8404




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

Wipro,

10 9699

What is Overriding and how can it be used?

Consagous, Wipro,

7 12425

Explain pass by reference and pass by value?

IBM, Wipro,

8 10442

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 6653

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

21 31584

Is there any need to import java.lang package?

Sun Microsystems,

13 13623

What is UNICODE?

3 3756


Post New Core Java Questions






Un-Answered Questions { Core Java }

Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me

537


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

565


how to prepare for IT Officers Interview in Banks

681


In a container there are 5 components. I want to display all the component names, how will you do that?

726


Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)

518


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

4174


Tell me about your ability to work under pressure

866


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

807


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

717


What is your platform?s default character encoding and how to know this?

887


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

1396


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

861


How listener identify that the event came from a particular object?

640


what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????

912


What happens to the Exception object after handling an exception?

945