You are on page 1of 1

Core Java Sample Viva Questions

1. Explain Internal Architecture of JVM.


2. What are the applications of Java?
3. Define variables. What are the types of variables?
4. Explain Type Casting with its syntax and example.
5. Explain Java String Methods with an example.
6. Explain increment and decrement operator with its types and example.
7. Explain if statement with its syntax, control flow diagram and example.
8. Differentiate between conditional and looping statement.
9. Explain Method Overriding in java with its example. What are the rules for
10. method overriding?
11. Explain java inner class with an example.
12. Explain constructor overloading in java with an example.
13. Define Class method. How to create class method? Give example.
14. Explain IS-A relationship with an example. Give purpose and disadvantages of
15. Inheritance.
16. Explain Multiple Inheritance with an example.
17. Differentiate between Classes v/s Interfaces.
18. Define packages. Give its advantages. How to create packages in java?
19. Explain Hierarchical Inheritance with an example.
20. How to import packages to give access to the classes and interfaces of other
21. packages?
22. Explain how enum can be declared inside a class but not inside a method?
23. What are various types of Arrays in Java? Explain with suitable example
24. With suitable diagram explain the Thread Life Cycle
25. Differentiate between Checked Exception, Runtime Exception and Errors ?
26. Write a short note on ByteStreams.
27. What are character streams in Java?
28. Explain Adapter Classes in detail. Give example.
29. What are the Event Classes available in AWT?
30. Explain RadioButtons control with its constructors and methods.
31. List AWT Classes and Windows Fundamentals hierarchy.
32. Explain FlowLayout Manager with an example.
33. Explain BorderLayout Manager with an example.
34. Difference between Java and C++?
35. Explain Type Casting with its syntax and example.
36. What are the applications of Java?
37. Explain the types of Primitive data types.
38. Explain break and continue statement.
39. How to import packages to give access to the classes and interfaces of other packages?
40. What is AutoBoxing and Unboxing? Give the benefits and example.
41. Difference between constructor and method in java.
42. Explain IS-A relationship with an example. Give purpose and disadvantages of
Inheritance.
43. What are vectors in Java? Explain the characteristics or features of vector in Java

You might also like