Introduction Simple Java Program Java Program Structure – –Comments – –Tokens – Java Statements Implementing a Java Program JVM Command Line Arguments. – – – Constants Variables Data Types Type Casting. – – – Unit II Operators and Expressions: Arithmetic Operators Relational, Logical, Assignment, Increment and Decrement, – Conditional, Bitwise, Special Operators Arithmetic expressions, Evaluation of expression – – Precedence of Arithmetic Operators Type Conversions Operator Precedence and – – associativity Mathematical Functions. Decision Making and Branching: If – – if…..else – Nesting of else if switch - ?Operator. Decision Making and Looping: if……. Else – – While do for jump in loops labeled loops. – – – – Unit III Classes, Objects and Methods: Defining a class Adding variables, methods Creating objects Accessing Class – – – Members– Constructors Methods overloading static members Nesting of Methods – – – – Inheritance Overriding methods final Variables and methods Final classes finalizer – – – – methods Abstract methods and classes visibility control. Arrays, Strings and Vectors: – – Arrays One Dimensional Arrays Creating an array Two Dimensional Arrays Strings – – – – – Vectors Wrapper Classes Interfaces: Multiple Inheritance Defining interfaces – – Extending interfaces implementing interfaces Accessing interface variables. – – Unit IV 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. 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 Implementing the – ‘Runnable’ Interface 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. Unit V Applet Programming: How applets differ from Applications preparing to write applets Building Applet – – Code Applet life cycle creating an Executable Applet Designing a Web Page Applet – – – – Tag Adding Applet to HTML file Running the Applet Passing parameters to Applets – – – – Displaying Numerical values Getting input from the user – Graphics Programming:
Introduction – Simple Java Program –Comments – Java Program Structure –Tokens – Java Statements – Implementing a Java Program – JVM – Command Line Arguments. Constants – Variables – Data Types – Type Casting. Unit II Operators and Expressions: Arithmetic Operators – Relational, Logical, Assignment, Increment and Decrement, Conditional, Bitwise, Special Operators – Arithmetic expressions, Evaluation of expression – Precedence of Arithmetic Operators – Type Conversions – Operator Precedence and associativity – Mathematical Functions. Decision Making and Branching: If – if…..else – Nesting of if……. Else – else if – switch - ?Operator. Decision Making and Looping: While – do – for – jump in loops – labeled loops. Unit III Classes, Objects and Methods: Defining a class – Adding variables, methods – Creating objects – Accessing Class Members– Constructors – Methods overloading – static members – Nesting of Methods – Inheritance – Overriding methods – final Variables and methods – Final classes – finalizer methods – Abstract methods and classes – visibility control. Arrays, Strings and Vectors: Arrays – One Dimensional Arrays – Creating an array – Two Dimensional Arrays – Strings – Vectors – Wrapper Classes Interfaces: Multiple Inheritance Defining interfaces – Extending interfaces – implementing interfaces – Accessing interface variables. Unit IV 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. 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 – Implementing the ‘Runnable’ Interface 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. Unit V Applet Programming: How applets differ from Applications – preparing to write applets – Building Applet Code – Applet life cycle – creating an Executable Applet – Designing a Web Page – Applet Tag – Adding Applet to HTML file – Running the Applet – Passing parameters to Applets – Displaying Numerical values – Getting input from the user Graphics Programming:
Sy0058.docx