Syllabus JAVA PROGRAMMING Lecture: 4 Hrs/week Practical: 3 Hrs/week One paper: 100 marks / 3 Hrs duration Practical exam: 50 marks Term work: 25 marks 1. Java Fundamentals Features of Java OOPs concepts Java virtual machine Reflection byte codes Byte code interpretation Data types, variable, arrays, expressions, operators, and control structures Objects and classes 2. Java Classes Abstract classes Static classes Inner classes Packages Wrapper classes Interfaces This Super Access control
2 3. Exception handling Exception as objects Exception hierarchy Try catch finally Throw, throws 4. IO package Input streams Output streams Object serialization Deserialization Sample programs on IO files Filter and pipe streams 5. Multi threading Thread Life cycle Multi threading advantages and issues Simple thread program Thread synchronization 6. GUI Introduction to AWT programming Layout and component managers Event handling Applet class Applet life-cycle Passing parameters embedding in HTML
3 Swing components – JApplet, JButton, JFrame, etc. Sample swing programs 7. Database Connectivity JDBC architecture Establishing connectivity and working with connection interface Working with statements Creating and executing SQL statements Working with Result Set Term work / Practical: Each candidate will submit a journal in which at least 10 assignments based on the above syllabus and the internal paper. Test will be graded for 10 marks and assignments will be graded for 15 marks. References: 1. Programming with Java A Primer, E. Balaguruswamy Tata McGraw Hill Companies. 2. Java Programming John P. Flynt Thomson 2nd. 3. Java Programming Language Ken Arnold Pearson. 4. The complete reference JAVA2, Hervert schildt. TMH. 5. Big Java, Cay Horstmann 2nd edition, Wiley India Edition. 6. Core Java, Dietel and Dietel. 7. Java – Balaguruswamy. 8. Java server programming, Ivan Bayross SPD. Java Programming Lab 1. Programs using constructor and destructor.
4 2. Creation of classes and use of different types of functions. 3. Count the number of objects created for a class using static member function. 4. Write programs on interfaces. 5. Write programs on packages. 6. Write programs using function overloading. 7. Programs using inheritance. 8. Programs using IO streams. 9. Programs using files. 10. Write a program using exception handling mechanism. 11. Programs using AWT 12. Programs on swing. 13. Programs using JDBC.