It2301 Javaprogramming
It2301 Javaprogramming
AIM: To understand the concepts of object-oriented, event driven, and concurrent programming paradigms and develop skills in using these paradigms using Java. UNIT I 9 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 10 Arrays Strings - Packages Java-Doc comments - Inheritance class hierarchy polymorphism dynamic binding final keyword abstract classes UNIT III 10 The Object class Reflection interfaces object cloning inner classes proxies - I/O Streams - Graphics programming Frame Components working with 2D shapes. UNIT IV 8 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 8 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. Total= 45 Periods TEXT BOOK: 1. Cay S. Horstmann and Gary Cornell, Core Java: Volume I Fundamentals, Eighth Edition, Sun Microsystems Press, 2008. REFERENCES: 1. 2. 3. K. Arnold and J. Gosling, The JAVA programming language, Third edition, Pearson Education, 2000. 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.