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

32 57522

Differentiate Vector and ArrayList?

Wipro, Max Telecom,

6 8108

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

Wipro,

7 8589




What is an abstract class?

Wipro,

7 7390

How can final class be used?

Wipro, Accenture,

5 9295

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

Wipro,

1 10654

Java support what type of parameter passing ?

Wipro,

7 11924

Explain the term serialization?

Wipro,

10 9760




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

Wipro, Infosys,

10 11102

What is Overriding and how can it be used?

Consagous, Wipro,

7 13551

Explain pass by reference and pass by value?

IBM, Wipro,

8 11941

In which way does a Primitive data type is passed ?

Sun Microsystems,

5 7711

What happens when a main method is declared as private?

L&T, DELL, Infosys, Sun Microsystems,

22 36643

Is there any need to import java.lang package?

Sun Microsystems,

13 15144

What is UNICODE?

3 4500


Post New Core Java Questions






Un-Answered Questions { Core Java }

Difference between error and exception

3503


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

6257


Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.

1592


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

892


why we use merge option in hybernate pls give a ex snippet

833






how to one war file class to another war file class?

918


Can we call virtual funciton in a constructor ?

1093


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.

1381


write a program that list all permutations of ABCDEF in which A appears before B?

1290


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?????

1098


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

4480


Why does java not allow multiple public classes in a java file ?

2172


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

699


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

1380


Which of the following is not an isolation level in the JDBC

919