0% found this document useful (0 votes)
7 views4 pages

Java Viva Questions Sem3

The document outlines important and basic viva questions for a Java course, divided into four units covering Java basics, arrays, strings, I/O, object-oriented programming, exception handling, threads, JDBC, applets, AWT, and event handling. Each unit includes key concepts such as Java architecture, inheritance, exception handling, and GUI components. It serves as a study guide for students in Semester III to prepare for their examinations.

Uploaded by

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

Java Viva Questions Sem3

The document outlines important and basic viva questions for a Java course, divided into four units covering Java basics, arrays, strings, I/O, object-oriented programming, exception handling, threads, JDBC, applets, AWT, and event handling. Each unit includes key concepts such as Java architecture, inheritance, exception handling, and GUI components. It serves as a study guide for students in Semester III to prepare for their examinations.

Uploaded by

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

Concepts of Core and Advanced Java

Important & Basic Viva Questions (Semester III)

Unit I - Java Basics

• What is Java? Explain its main features.


• Explain Java architecture (JVM, JRE, JDK).
• Difference between C++ and Java.
• What is bytecode?
• What are variables and data types in Java?
• Explain type casting and type conversion.
• What are operators in Java?
• Explain control statements (if, switch, loops).
• What is method in Java? Explain scope and return type.
• What is constructor? Difference between constructor and method.
• What are built-in Java classes?
• What is command to compile and run Java program?
Unit II - Arrays, Strings & I/O

• What is an array? Types of arrays in Java.


• Difference between one-dimensional and multi-dimensional arrays.
• What is inheritance? Types of inheritance in Java.
• What is String? Difference between String, StringBuffer and StringBuilder.
• Explain String immutability.
• What is Scanner class?
• Difference between byte stream and character stream.
• Explain file handling in Java.
• What is [Link] and [Link]?
• What are wrapper classes?
Unit III - OOP, Exception, Threads & JDBC

• What is method overriding?


• What is dynamic method dispatch?
• What is abstract class?
• Difference between abstract class and interface.
• What is package? Why is it used?
• Explain exception handling (try, catch, finally).
• What is multithreading?
• Difference between Thread class and Runnable interface.
• What is synchronization?
• What is JDBC? Steps to connect database using JDBC.
• What is networking in Java?
Unit IV - Applet, AWT & Event Handling

• What is Applet?
• Difference between Applet and Application.
• What is AWT?
• Explain event handling mechanism in Java.
• What are listener interfaces?
• What is adapter class?
• What are layout managers?
• Explain basic GUI components (Label, Button, TextField).
• How to draw graphics in Java?
• What is inner class?

You might also like