: : : :
: : : :
To learn the fundamentals of the capabilities of Java and to introduces encapsulation, polymorphism, and the Java language mechanism to implement it, that is, classes and methods. To make a study on graphics programming. To learn about event handling and exception handlings.
To understand about generic programmings and thread implementations. Syllabus: UNIT I :Object oriented programming concepts objects classes methods and messages abstraction and encapsulation inheritance abstract classes polymorphism.- Objects and classes in Java defining classes methods - access specifiers static members constructors finalize method UNIT II Arrays Strings - Packages Java-Doc comments - Inheritance class hierarchy polymorphism dynamic binding final keyword abstract classes UNIT III The Object class Reflection interfaces object cloning inner classes proxies - I/O Streams - Graphics programming Frame Components working with 2D shapes. UNIT IV Basics of event handling event handlers adapter classes actions mouse events AWT event hierarchy introduction to Swing Model-View-Controller design pattern buttons layout management Swing Components exception handling exception hierarchy throwing and catching exceptions. UNIT V Motivation for generic programming generic classes generic methods generic code and virtual machine inheritance and generics reflection and generics - Multi-threaded programming interrupting threads thread states thread properties thread synchronization Executors synchronizers.
TEXT BOOK
1. Cay S. Horstmann and Gary Cornell, Core Java: Volume I Fundamentals, Eighth Edition, Sun Microsystems Press, 2008. Reference Book(s): 1. K. Arnold and J. Gosling, The JAVA programming language, Third edition, Pearson Education, 2000. 2. 3. Timothy Budd, Understanding Object-oriented programming with Java, Updated Edition, Pearson Education, 2000. C. Thomas Wu, An introduction to Object-oriented programming with Java, Fourth Edition, Tata McGraw-Hill Publishing company Ltd., 2006.
Sl. No. 1 2 3 4 5 6 7 8 9
Date
Peri od
Unit I
Topic(s) Introduction to java programming Fundamental programming structures OOP concepts Objects and classes, Methods and messages Abstraction and encapsulation, Inheritance Abstract classes Polymorphism Objects and classes in java,defining classes and methods. Access specifier,static member,constructor,finalize method.
T / R* Book T1 T1 T1 T1 T1 T1 T1 T1 T1
Aim: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 55 49 50 51 52 55 56
REVISION II Arrays
Strings
T1 T1 T T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 T1 613-615 616-617 618-620 621-628 630-639 640-647 715-727 728-730 730-735 736-764 778,785 90-104 53-63 153-159 39,162-166 172-191 172-191 179-181 181-183 183-184 248-249
III
Dynamic Binding Final Keyword Abstract classes Program samples UNIT II REVISION The object class Reflection Interfaces Object cloning Inner classes Proxies-I/O streams Graphics programming frame Components Working with 2D shapes
Sample Code
Swing components
Exception handling,hierarchy. Throwing and catching exception. Sample programs
324-338 338-341 342-348 349-356 357-359 282 362-368 368-376 377-424 552-557 557-562
UNIT IV REVISION V
Motivation for generic programming Generic classes Generic methods Generic code and virtual machine Inheritance and generics Reflection and generics Multi threaded programming Interrupting threads Thread states, Thread properties Thread synchronization Executors and synchronizers
UNIT V REVISION