0% found this document useful (0 votes)
3 views1 page

Java VIVA Questions and Answers Guide

The document contains a list of viva questions related to Java programming, covering fundamental concepts such as data types, JVM, OOP, classes, objects, methods, inheritance, and exception handling. It provides definitions and explanations for key terms and components in Java, including the roles of the Java compiler and bytecode. Additionally, it highlights the significance of abstract classes, interfaces, and polymorphism in object-oriented programming.

Uploaded by

Dhavan Ravuri
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Java VIVA Questions and Answers Guide

The document contains a list of viva questions related to Java programming, covering fundamental concepts such as data types, JVM, OOP, classes, objects, methods, inheritance, and exception handling. It provides definitions and explanations for key terms and components in Java, including the roles of the Java compiler and bytecode. Additionally, it highlights the significance of abstract classes, interfaces, and polymorphism in object-oriented programming.

Uploaded by

Dhavan Ravuri
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

VIVA QUESTIONS FOR JAVA

1. Number of primitive data types in Java are8


2. What is the size of float and double in java 4 and 8 Bytes
3. What is JVM? Java Virtual Machine
4. Who is father of Java?James Gosling
5. J2SE means Java Standard Edition
6. J2EE meansJava Enterprise Edition
7. OOP full form Object Oriented Programming
8. POP Full form Procedural Oriented Programming
9. API full Form Application Programming Interface
10. Output Statement in java [Link]( )
11. What is package? Package is container
12. What is class? User Defined Datatype
13. What is Object? Instance of a Class
14. What is Javac? Java Compiler
15. Need of Java Compiler? Converting program into byte code
16. What is program? Set of Instructions
17. What is Byte code? Code in 1’s and 0’s format
18. What is 1 or 0 ?Binary Digits
19. 32 bits are equals to 4Bytes
20. 64 bits are equals to 8Bytes
21. 4 bits are equals to 1 Nibble
22. What is abstract class? Class defined using abstract keyword
23. What is Interface? Pure Abstract class
24. What is pure abstract class? Class contains only abstract methods
25. What is method ?method is a function is class
26. What is final method? method declared using final keyword
27. What is abstract method? Method declared by using abstract
keyword
28. Abstract methods has no body , Yes or No ? Yes
29. Where we should defined body of abstract method? Child class
30. Defining Body for abstract method is called as Overriding
31. Defining same method in class is called as Overloading
32. What is inheritance? Creating child class using parent class
33. What is Polymorphism? Defining method with different forms
34. What is exception? Run time errors
35. How to handle exception? Using Try and catch block

VIGNAN DEGREE COLLEGE

You might also like