Note: This syllabus is same for CSEElectronics and Computer Engineering.

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD 
II Year B.Tech. CSE - II Sem    L T/P/D C 
                                              4  -/-/-    4 
(A40503) JAVA PROGRAMMING


Objectives:

  • To understand object oriented programming concepts, and apply them in problem solving.
  • To learn the basics of java Console and GUI based programming.

UNIT-I

OOP concepts - Data abstraction, encapsulation, inheritance, benefits of inheritance, polymorphism, classes and objects, Procedural and object oriented programming paradigms.

Java programming - History of Java, comments, data types, variables, constants, scope and life time of variables, operators, operator hierarchy, expressions, type conversion and casting, enumerated types, control flow block scope, conditional statements, loops, break and continue statements, simple java stand alone programs, arrays, console input and output, formatting output, constructors, methods, parameter passing, static fields and methods, access control, this reference, overloading methods and constructors, recursion, garbage collection, building strings, exploring string class.

UNIT-II

Inheritance - Inheritance hierarchies, super and sub classes, Member access rules, super keyword, preventing inheritance: final classes and methods, the Object class and its methods.

Polymorphism - dynamic binding, method overriding, abstract classes and methods.

Interfaces - Interfaces vs. Abstract classes, defining an interface, implementing interfaces, accessing implementations through interface references, extending interfaces.

Inner classes - uses of inner classses, local inner classes, anonymous inner classes, static inner classes, examples.

Packages - Defining, Creating and Accessing a Package, Understanding CLASSPATH, importing packages.

UNIT-III

Exception handling - Dealing with errors, benefits of execution handling, the classification of exceptions- exception hierarchy, checked exceptions and unchecked exceptions, usage of try, catch, throw, throws and finally, re throwing exceptions, exception specification, built in exceptions, creating own exception sub classes.

Multithreading - Difference between multiple processes and multiple threads, thread states, creating threads, interrupting threads, thread priorities, synchronizing threads, inter-thread communication, procedure consumer pattern.

UNIT-IV

Collection Framework in Java - Introduction to Java Collections, Overview of Java Collection frame work, Generics, Commonly used Collection classes Array List, Vector, Hash table, Stack, Enumeration, Iterator, String Tokenizer, Random, Scanner, calender and Properties

Files - streams - byte streams, character streams, text input/output, binary input/output, random access file operations, File managament using File class.

Connecting to Database - JDBC Type 1 to 4 drives, connecting to a database, querying a database and processing the results, updating data with JDBC.

UNIT-V

GUI Programming with Java - The AWT class hierarchy, Introduction to Swing, Swing vs, AWT, Hierarchy for Swing components, Containers - JFrame, JApplet, JDialog, JPanel, Overview of some swing components Jbutton, JLabel, JTextField, JTextArea, simple swing applications, Layout management - Layout manager types - border, grid and flow

Event handling - Events, Event sources, Event classes, Event Listeners, Relationship between Event sources and Listerners, Delegation event model, Examples: handling a buttong click, handling mouse events, Adapter classes.

Applets - Inheritance hierarchy for applets, differences between applets and applications, life cycle of an applet, passing parameters to applets, applet security issues.

TEXT BOOKS: 

  1. Java Fundamentals - A comprehensive Introduction, Herbet Schidt and Dale Srien, TMH.

REFERENCES BOOKS: 

  1. Java for Programmers, P.J. Deitel and H.M. Deitel, Pearson education (OR) Java: How to Program P.J. Deitel and H.M. Deitel, PHI.
  2. Object Orientd Programming through Java, P. Radha Krishna, Universities Press.
  3. Thinking in Java, Bruce Eckel, Pearson  Education
  4. Programming in Java, Bruce Eckel, Pearson Education
  5. Programming in Java, S. Malhotra and S. Choudhary, Oxford Univ. Press.

Outcomes:

  • Understanding of OOP concepts and basics of Java programming (Console and GUI based).
  • The skills to apply OOP and Java programming in problem solving.
  • Should have the ability to extend his/her knowledge of Java programming further on his/her own.
  • Created
    Jan 08, 2015
  • Updated
    Aug 02, 2016
  • Views
    15,852