1600 PMP mock questions 1400 CAPM mock questions 800 SCJP 6 mock questions 600 OCAJP 7 mock questions 590 OCPJP 7 mock questions 556 SCWCD 5 mock questions 500 OCEJWCD 6 mock questions pdfDownload (java,struts, hibernet etc)
Java online test
JSP online test
ORACLE online test
Hibernate online test
Servlet online test
Struts online test
EJB online test
C online test
C++ online test
Aptitude online test
Freshers/Beginners Interview Questions and Answers

(1)  Java Fresher Questions


(2)  Q. What is the difference between an Interface and an Abstract class?


(3)  Q.What is garbage collection and the purpose of garbage collection in Java?


(4)  Q.What are the Garbage collection algorithms in Java?


(5)  Q.What is the difference between interface and abstract class?


(6)  Q. When we go for Abstract and Interface in Java?


(7)  Q.What are pass by reference and passby value in Java?


(8)  Q.Difference between ArrayList and LinkedList?


(9)  Q.Difference between Vector and ArrayList?


(10)  Q.Difference between HashMap and HashTable?


(11)  Q. What are the modifiers in Java ?


(12)  What is an abstract class?


(13)  Q.What is static in java?


(14)  Q. What is final?


(15)  Q.What are Checked and UnChecked Exception?


(16)  Q. What is Overriding?


(17)  Q. What are different types of inner classes?


(18)  Q.What is the difference between declaring a variable and defining a variable?


(19)  Q.What is the default value of an object reference declared as an instance variable?


(20)  Q.Can a top level class be private or protected?


(21)  Q. What type of parameter passing does Java support?


(22)  Q. Primitive data types are passed by reference or pass by value?


(23)  Q. Objects are passed by value or by reference?


(24)  Q.What happens to the static fields of a class during serialization?


(25)  Q. When you serialize an object, what happens to the object references included in the object?


(26)  Q.What one should take care of while serializing the object?


(27)  Q.What is serialization? Explain with example?


(28)  Q: What is wrapper class? Explain with example?


(29)  Q.What is the difference between error and an exception?


(30)  Q.What are the different ways to handle exceptions?


(31)  Q.What is the basic difference between the 2 approaches to exception handling. 1> try catch block and 2> specifying the candidate exceptions in the throws clause? When should you use which approach?


(32)  Q.Is it necessary that each try block must be followed by a catch block?


(33)  Q.If I write return at the end of the try block, will the finally block still execute?


(34)  Q.If I write System.exit (0); at the end of the try block, will the finally block still execute?


(35)  Q.What are synchronized methods and synchronized statements?


(36)  Q.What is daemon thread and which method is used to create the daemon thread?


(37)  Q.What is synchronization and why is it important?


(38)  Q.Does garbage collection guarantee that a program will not run out of memory?


(39)  Q.What is the purpose of finalization?


(40)  Q.What is the difference between static and non-static variables?


(41)  Q.How are this() and super() used with constructors?


(42)  Q.What are the steps in the JDBC connection?


(43)  Q.Can an unreachable object become reachable again?


(44)  Q.What method must be implemented by all threads?


(45)  Q.What are the different scopes for Java variables?


(46)  What are the parameters to follow Creating and Destroying Objects in Java?


(47)  Singleton Double-checked locking in Java?


(48)  What is the difference between int and Interger?


(49)  Q. How to sort list of objects ( User Defined) using comparator?


(50)  Q.How to sort list of objects ( User Defined) using comparator? in Descending Order.


(51)  Q.Why override equals() and hashCode()?


(52)  Q. What is difference between shallow copy and deep copy ?


(53)  Why can an interface supertype call methods that belong to Object class?


(54)  Q. What is the difference between an Interface and an Abstract class?


(55)  Q.What is garbage collection and the purpose of garbage collection in Java?


(56)  Q.What are the Garbage collection algorithms in Java?


(57)  Q.What is the difference between interface and abstract class?


(58)  Q. When we go for Abstract and Interface in Java?


(59)  Q.What are pass by reference and passby value in Java?


(60)  Q.Difference between ArrayList and LinkedList?


(61)  Q.Difference between Vector and ArrayList?


(62)  Q.Difference between HashMap and HashTable?


(63)  Q. What are the modifiers in Java ?


(64)  What is an abstract class?


(65)  Q.What is static in java?


(66)  Q. What is final?


(67)  Q.What are Checked and UnChecked Exception?


(68)  Q. What is Overriding?


(69)  Q. What are different types of inner classes?


(70)  Q.What is the difference between declaring a variable and defining a variable?


(71)  Q.What is the default value of an object reference declared as an instance variable?


(72)  Q.Can a top level class be private or protected?


(73)  Q. What type of parameter passing does Java support?


(74)  Q. Primitive data types are passed by reference or pass by value?


(75)  Q. Objects are passed by value or by reference?


(76)  Q.What happens to the static fields of a class during serialization?


(77)  Q. When you serialize an object, what happens to the object references included in the object?


(78)  Q.What one should take care of while serializing the object?


(79)  Q.What is serialization? Explain with example?


(80)  Q: What is wrapper class? Explain with example?


(81)  Q.What is the difference between error and an exception?


(82)  Q.What are the different ways to handle exceptions?


(83)  Q.What is the basic difference between the 2 approaches to exception handling. 1> try catch block and 2> specifying the candidate exceptions in the throws clause? When should you use which approach?


(84)  Q.Is it necessary that each try block must be followed by a catch block?


(85)  Q.If I write return at the end of the try block, will the finally block still execute?


(86)  Q.If I write System.exit (0); at the end of the try block, will the finally block still execute?


(87)  Q.What are synchronized methods and synchronized statements?


(88)  Q.What is daemon thread and which method is used to create the daemon thread?


(89)  Q.What is synchronization and why is it important?


(90)  Q.Does garbage collection guarantee that a program will not run out of memory?


(91)  Q.What is the purpose of finalization?


(92)  Q.What is the difference between static and non-static variables?


(93)  Q.How are this() and super() used with constructors?


(94)  Q.What are the steps in the JDBC connection?


(95)  Q.Can an unreachable object become reachable again?


(96)  Q.What method must be implemented by all threads?


(97)  Q.What are the different scopes for Java variables?


(98)  What are the parameters to follow Creating and Destroying Objects in Java?


(99)  Singleton Double-checked locking in Java?


(100)  What is the difference between int and Interger?


(101)  Q. How to sort list of objects ( User Defined) using comparator?


(102)  Q.How to sort list of objects ( User Defined) using comparator? in Descending Order.


(103)  Q.Why override equals() and hashCode()?


(104)  Q. What is difference between shallow copy and deep copy ?


(105)  Why can an interface supertype call methods that belong to Object class?


(106)  Q. What is the difference between an Interface and an Abstract class?


(107)  Q.What is garbage collection and the purpose of garbage collection in Java?


(108)  Q.What are the Garbage collection algorithms in Java?


(109)  Q.What is the difference between interface and abstract class?


(110)  Q. When we go for Abstract and Interface in Java?


(111)  Q.What are pass by reference and passby value in Java?


(112)  Q.Difference between ArrayList and LinkedList?


(113)  Q.Difference between Vector and ArrayList?


(114)  Q.Difference between HashMap and HashTable?


(115)  Q. What are the modifiers in Java ?


(116)  What is an abstract class?


(117)  Q.What is static in java?


(118)  Q. What is final?


(119)  Q.What are Checked and UnChecked Exception?


(120)  Q. What is Overriding?


(121)  Q. What are different types of inner classes?


(122)  Q.What is the difference between declaring a variable and defining a variable?


(123)  Q.What is the default value of an object reference declared as an instance variable?


(124)  Q.Can a top level class be private or protected?


(125)  Q. What type of parameter passing does Java support?


(126)  Q. Primitive data types are passed by reference or pass by value?


(127)  Q. Objects are passed by value or by reference?


(128)  Q.What happens to the static fields of a class during serialization?


(129)  Q. When you serialize an object, what happens to the object references included in the object?


(130)  Q.What one should take care of while serializing the object?


(131)  Q.What is serialization? Explain with example?


(132)  Q: What is wrapper class? Explain with example?


(133)  Q.What is the difference between error and an exception?


(134)  Q.What are the different ways to handle exceptions?


(135)  Q.What is the basic difference between the 2 approaches to exception handling. 1> try catch block and 2> specifying the candidate exceptions in the throws clause? When should you use which approach?


(136)  Q.Is it necessary that each try block must be followed by a catch block?


(137)  Q.If I write return at the end of the try block, will the finally block still execute?


(138)  Q.If I write System.exit (0); at the end of the try block, will the finally block still execute?


(139)  Q.What are synchronized methods and synchronized statements?


(140)  Q.What is daemon thread and which method is used to create the daemon thread?


(141)  Q.What is synchronization and why is it important?


(142)  Q.Does garbage collection guarantee that a program will not run out of memory?


(143)  Q.What is the purpose of finalization?


(144)  Q.What is the difference between static and non-static variables?


(145)  Q.How are this() and super() used with constructors?


(146)  Q.What are the steps in the JDBC connection?


(147)  Q.Can an unreachable object become reachable again?


(148)  Q.What method must be implemented by all threads?


(149)  Q.What are the different scopes for Java variables?


(150)  What are the parameters to follow Creating and Destroying Objects in Java?


(151)  Singleton Double-checked locking in Java?


(152)  What is the difference between int and Interger?


(153)  Q. How to sort list of objects ( User Defined) using comparator?


(154)  Q.How to sort list of objects ( User Defined) using comparator? in Descending Order.


(155)  Q.Why override equals() and hashCode()?


(156)  Q. What is difference between shallow copy and deep copy ?


(157)  Why can an interface supertype call methods that belong to Object class?



The information you are posting should be related to java and ORACLE technology. Not political.