EIT362: INTRODUCTION TO PROGRAMMING WITH
JAVA (Elective)
LTPC
3003
Module I8 hours
Java Evolution and Environment: Java history, features of java, how
java differ from C and C++, Java and World Wide Web, web browser. Java
environment: java development kit (JDK), application programming in-
terface (API). Java programming structure, java tokens, constants, vari-
ables, expressions, decision making statements and looping, java statements,
Java Virtual Machine (JVM), command line arguments.
Module II10 hours
Arrays and Strings: Arrays: One-Dimensional arrays, creating an array,
declaration of arrays, initialization of arrays, two dimensional arrays, string
arrays, string methods, string buffer class, basic I/O streams: scanner,
buffered reader. Classes, Objects and Methods Introduction, defining a
class, creating objects, accessing class members, constructors, methods over-
loading, static members.
Module III9 hours
Inheritance: Defining a sub class, sub class constructor, multilevel vari-
ables, final classes, and finalize methods, abstract methods and classes.
Managing Errors and Exceptions: Introduction, types of errors: Com-
pile time and run time errors, exceptions- types of exceptions, syntax of
exception handling code, multiple catch statements, using finally statement,
throwing our own exceptions.
Module IV8 hours
Interfaces:Introduction, defining interfaces, extending interfaces, imple-
menting interfaces.
Applet Programming: Introduction, how applet differ
from applications, building applet code, applet life cycle, about HTML,
designing a web page, passing parameters to applets, getting input from
the user.
Module V8 hours
Introduction to Swings: Introduction to swings, overview of swing com-
ponents, Jbutton, JCheckBox, JRadioButton, JLabel, JTextField, JTextArea,
JList.
Text Book(s)
1.Herbert Schildt, The Java Complete Reference, 9/e, McGraw Hill, 2014.
2.Sachin Malhotra, Saurabh Choudhary, Programming in Java, 2/e, Oxford
University Press, 2013.
References
1.Y. Daniel Liang, An Introduction to JAVA Programming, 9/e, McGraw Hill,
2008.
2.Kathy Sierra, Head First Java, 2/e, Shroff Publishers, 2005.
3.E. Balagurusamy, Programming with JAVA, 2/e, McGraw Hill, 2014.
148
Printed by BoltPDF (c) NCH Software. Free for non-commercial use only.