UNIT II – Operators and Expressions: Arithmetic Operators Relational Operators- Logical – Operators Assignment Operators Increment and Decrement Operators Conditional – – – Operators Bitwise Operators Special Operators Arithmetic Expressions – – – – Evaluation of Expressions Precedence of Arithmetic Operators Operator Precedence – – and Associativity. Decision Making and Branching: Decision Making with If statement Simple If – Statement-If else Statement-Nesting If Else Statement- the Else If Ladder-The switch Statement The ?: operator. – Decision Making and Looping: The while statement The do statement The for – – statement Jumps in Loops, labelled loops. – UNIT III – Class, Objects and Methods: Defining a Class Fields Declaration Methods – – Declaration Creating Objects Accessing class members Constructors Methods – – – – Overloading Static Members Nesting of Methods, Inheritance Overriding Methods – – – Final Variables and Methods Final Classes Abstract Methods and Classes – – – Visibility Control. Arrays, Strings and Vectors: One-dimensional Arrays-creating an Array Two – dimensional Arrays Strings Vectors Wrapper Classes Enumerated Types. – – – – UNIT IV – Interfaces: Multiple Inheritance - Defining Interfaces Extending Interfaces – – Implementing Interfaces Accessing Interface Variables. – Java API packages Using system Packages Naming Conventions Packages: – – – Creating Packages Accessing a Package Using a Package Adding a Class to a – – – Package Hiding Classes Static Import. – – UNIT - V Multithreaded Programming: Creating Threads Extending the Thread Class – – Stopping and Blocking a Thread Life Cycle of a Thread Thread Methods – –Using Exceptions Thread Priority Synchronization. –Thread – – Managing Errors and Exceptions: Types of Errors Exceptions Syntax of – – Exception Handling Code Multiple Catch Statements Using Finally Statement – – – Throwing our own Exceptions Using Exceptions for debugging. – Applet Programming: How Applets differ from Applications Preparing to write – Applets Building Applet Code Applet Life Cycle Creating an executable Applet – – – – Designing a WebPage Applet Tag Adding Applet to HTML file Running the – – – Applet More about Applet Tag Passing parameters to Applets Aligning the display – – –
UNIT – II Operators and Expressions: Arithmetic Operators – Relational Operators- Logical Operators – Assignment Operators – Increment and Decrement Operators – Conditional Operators – Bitwise Operators – Special Operators – Arithmetic Expressions – Evaluation of Expressions – Precedence of Arithmetic Operators – Operator Precedence and Associativity. Decision Making and Branching: Decision Making with If statement – Simple If Statement-If else Statement-Nesting If Else Statement- the Else If Ladder-The switch Statement – The ?: operator. Decision Making and Looping: The while statement – The do statement – The for statement – Jumps in Loops, labelled loops. UNIT – III Class, Objects and Methods: Defining a Class – Fields Declaration – Methods Declaration – Creating Objects – Accessing class members – Constructors – Methods Overloading – Static Members – Nesting of Methods, Inheritance – Overriding Methods Final Variables and Methods – Final Classes – Abstract Methods and Classes – Visibility Control. Arrays, Strings and Vectors: One-dimensional Arrays-creating an Array – Two dimensional Arrays – Strings – Vectors – Wrapper Classes – Enumerated Types. UNIT – IV Interfaces: Multiple Inheritance - Defining Interfaces – Extending Interfaces – Implementing Interfaces – Accessing Interface Variables. Packages: Java API packages – Using system Packages – Naming Conventions – Creating Packages – Accessing a Package – Using a Package – Adding a Class to a Package – Hiding Classes – Static Import. UNIT - V Multithreaded Programming: Creating Threads – Extending the Thread Class – Stopping and Blocking a Thread – Life Cycle of a Thread –Using Thread Methods –Thread Exceptions – Thread Priority – Synchronization. Managing Errors and Exceptions: Types of Errors – Exceptions – Syntax of Exception Handling Code – Multiple Catch Statements – Using Finally Statement – Throwing our own Exceptions – Using Exceptions for debugging. Applet Programming: How Applets differ from Applications – Preparing to write Applets – Building Applet Code – Applet Life Cycle – Creating an executable Applet – Designing a WebPage – Applet Tag – Adding Applet to HTML file – Running the Applet – More about Applet Tag – Passing parameters to Applets – Aligning the display
BSc_Computer_Science_CBCS_Syllabus.docx