Fundamentals of Java Programming
Fundamentals of Java Programming
Objectives:
To develop proficiency in creating console based and GUI based applications using the Java Programming Language. To be able to understand the concepts of Object Oriented Programming Language and easily use Java. To get a good understanding of developing multi-threaded applications using the Java Programming Language. To be able to develop Applets for embedding in a web page.
Prerequisites:
Knowledge of the C programming language.
Contents: Unit-1: Object Oriented Programming And Introduction To Java, Data Types, Operators, Statements And Defining Classes In Java
Features of the Java Language, Object-oriented Programming Creating an Application in Java, Compiling and executing Applications in Java Program comments Primitive data types, Integer Data Types, Floating Point Data Types Reference Data types Arrays, single and multi-dimensional arrays Other reference types, classes, interfaces, enums and annotations Unicode escapes in Java source code Understanding super types and subtypes. Operators - Arithmetic, String concatenation, Relational, Logical, Bitwise, increment-decrement, conditional, assignment, cast and instance of operators. Understanding the narrowing and widening conversions of numeric data types. Statements - if, if-else, switch-case, for, while, do-while, break, continue and return statements. Various members within a class instance variables methods and their overloading constructors and their overloading Garbage collector and finalize method static variables and methods initializer blocks and the class initializer blocks
Unit -2: Inheritance and sub classing in Java and packages and use of access specifiers
Defining subclasses Using super to use constructor of a super-class, Method overriding and use of super, Variable shadowing and use of super. Method and variable binding Using final with variables, methods and classes Abstract classes and interfaces, Abstract classes and abstract methods Single inheritance of classes, Interfaces Object class as the super class of all classes, Methods inherited from the Object class Uses of package and import statements, use of static imports use of CLASSPATH for class loading Access specifiers, Access specifiers for members of a package, Access specifiers for members of a class, Access specifiers for overriding methods Using the Java APIs Commonly used classes from the java. language package Comparable and Comparator interfaces String, String Buffer and the String Builder classes Understanding pass by value and pass by reference for Java Wrapper classes Math class constants and methods
Notes:
Term work is to be carried out as per the above syllabus.
6) James Gosling, Bill Joy, Guy Steele, Gilad Bracha, The Java Langauge Specifications,
Addison-Wesley Pearson Education(3rd edition), available http://java.sun.com/docs/books/jls/download/langspec-3.0.pdf for download at
3. 4. 5.