0% found this document useful (0 votes)
6 views3 pages

Java Viva Syllabus Summary

The Java Viva Syllabus for BCA 201 covers four main units: Java Basics, Inheritance, Interfaces and Packages, I/O and Multithreading, and Swings and JDBC. Key topics include object-oriented programming concepts, exception handling, multithreading fundamentals, and database connectivity using JDBC. The syllabus emphasizes practical applications and core Java functionalities essential for software development.

Uploaded by

rrrrose231
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)
6 views3 pages

Java Viva Syllabus Summary

The Java Viva Syllabus for BCA 201 covers four main units: Java Basics, Inheritance, Interfaces and Packages, I/O and Multithreading, and Swings and JDBC. Key topics include object-oriented programming concepts, exception handling, multithreading fundamentals, and database connectivity using JDBC. The syllabus emphasizes practical applications and core Java functionalities essential for software development.

Uploaded by

rrrrose231
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
You are on page 1/ 3

Java Viva Syllabus Summary (BCA 202)

UNIT I - Java Basics

- Java as Object-Oriented Programming Language: Emphasizes concepts like inheritance, encapsulation,

polymorphism.

- History of Java: Developed by Sun Microsystems, released in 1995.

- Difference between Java and C++: Java is platform-independent, lacks pointers, uses garbage collection.

- Java Architecture: Includes JDK, JVM, JRE.

- Java Tokens: Smallest elements of a program - keywords, identifiers, literals, operators, separators.

- Data Types, Literals, Variables: Java is statically typed, uses primitive and non-primitive types.

- Scope and lifetime of variables: Defines where and how long a variable exists.

- Operators, Control Structures: Arithmetic, logical, relational operators; if, switch, loops.

- Arrays: Used to store multiple values in a single variable.

- Creating a Class: Blueprint with properties (fields) and methods (functions).

- Object Access Modifiers: public, private, protected, default.

- Method Overloading: Same method name with different parameters.

- Garbage Collection: Automatic memory management in Java.

- Static, final keywords: static for class-level access, final for constants.

- Wrapper Classes: Convert primitive types to objects (e.g., int to Integer).

- String class and methods: Used to manipulate text data.

UNIT II - Inheritance, Interfaces and Packages

- Inheritance: Mechanism to acquire properties from another class.

- Super keyword: Refers to parent class objects or methods.

- Method Overriding: Redefining a parent method in the child class.

- Covariant return type: Allows overridden method to return subtype.

- Abstract Class: Class that cannot be instantiated; contains abstract methods.


- Interfaces: Collection of abstract methods; used for multiple inheritance.

- Difference between abstract class and interface: Abstract class can have concrete methods; interfaces

cannot (Java 7).

- Packages: Group of related classes and interfaces.

- Importing a Package: Using import keyword to access classes in a package.

Exception Handling

- Exception Class: Base class for all exceptions.

- Built-in Checked and Unchecked Exceptions: Checked (IOException), Unchecked (ArithmeticException).

- User-defined Exceptions: Custom exceptions created by extending Exception class.

- Try-Catch-Throw-Finally: Keywords for handling exceptions in Java.

UNIT III - Using I/O and Multithreading

- Input/Output Streams: Byte and character-based input/output.

- File I/O: Reading/writing files using FileReader, FileWriter.

- Byte Streams: Reads binary data; classes include InputStream, OutputStream.

- Character Streams: Reads character data; classes include Reader, Writer.

- Multithreading Fundamentals: Running multiple threads simultaneously.

- Thread Class and Runnable Interface: Ways to create threads in Java.

- Life Cycle of Thread: New, Runnable, Running, Blocked, Terminated.

- Single and Multiple Threads: Executing one or many threads at a time.

- Thread Methods: start(), run(), sleep(), join(), etc.

- Synchronization: Ensures thread-safe execution using synchronized keyword or blocks.

UNIT IV - Swings and JDBC

- Swing Components: GUI components like JLabel, JButton, JCheckBox, etc.

- Event Handling: Handling user actions using event listeners.


- Layout Managers: Organize components in a GUI (FlowLayout, BorderLayout, etc.).

- Event Sources, Event Listeners, Event Classes: Core concepts in GUI interactivity.

- JDBC Architecture: Java API for connecting and executing queries with databases.

- JDBC Drivers: Types of drivers used to connect Java application to DB.

- Connection, Statement, PreparedStatement, ResultSet: Interfaces to interact with databases.

- Connecting to Database: Steps to establish a connection using JDBC.

You might also like