Teaching‎ > ‎

java_spr17

The University of Lahore
CS-4110 Java Software Development Paradigm

Semester: Spring 2017

7 - Tools and Technologies

J2SE Part will be covered in this Course. Netbeans 8 will be the official IDE of the course however Jetbrains is an alternative.

 

8-      Text and Other Resources

 

8.1       Text

 

1.      Herbert Schildts, The Complete Reference Java, 7th Edition, McGrawHill, 2006

  

8.2       Other Resources

 

1.    http://docs.oracle.com/javase/tutorial/java

2.    Deitel and Deitel, Java How to Program

3.    Ivor Horton, Beginning Java

4.    JDK 7 API Documentation Guide by oracle

5.    http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-092-introduction-to-programming-in-java-january-iap-2010/

 

9-      Course Outline

The lecturers are supposed to complete the following topics/sub-topics before the mid/final term examination as prescribed in the course outline below: 

                                   

Week

Lec

Topics / Sub-Topics

1

1

Java as pure Object Oriented P rogramming language (Introduction)

Why Java, Features of Java (JVM, JRE, Portability etc)

Java vs .Net vs Android

Comparison of C++ & Java in detail

Clarity of Expression

Features deprecated in Java

2

Data Types , Conditional statements(Arithmetic Expression Boolean Expressions),

Overview of OOP Features (Quick Revision of Abstraction, Encapsulation)

Classes and Objects in Java

toString method and Intro to Object Class

2

1

Arrays and Strings in Java

Enhanced For Loop / ForEach Loop

Var Args in detail

Understanding Difference of final with const

2

Garbage Collector

Java Portability

What is ByteCode

Java Process and JVM

JVM Architecture

3

1

Understanding keywords and reserved words, Static data Member and Static Member Function

Exploring Built-in libraries Math, String, Random, Calendar, Tokenizer, Timer etc

Factory Method Design Pattern

2

Wrapper Classes

Auto boxing and unboxing

String Class , Immutable Objects, String vs StringBuffer

How to create Immutable Objects

Why to create Immutable Objects

4

1

This operator, Access controls (private, public, protected, default) 

Instance of ,  Singleton

2

Object Class Hierarchy and Finalize method

Garbage collection mechanism, stack and heaps memory concepts in detail

 

5

1

Equals Method and Hashcode

2

enums in Java

Java Annotations

static imports

 

6

1

Inheritance in Java, Super class and sub class concepts,

Using super to call super class constructors and methods

2

Inheritance Hierarchy in Java, Method overriding and Covariant type , Object Clone method

7

1

Understanding Java Dynamic method dispatch

Abstract methods and abstract classes, Final Methods

Class based Polymorphism

Interfaced Based Polymorphism

2

Interfaces (Definition, implementation, extending interfaces)

8

1

Referencing an object

LinkedList , Binary Search Tree

Making inner class

Principle of Least Privilege

2

Adapter Classes

Nested Classes , Nested Static Classes , Inner Classes , Local Classes , Anonymous Classes

MID-TERM EXAMINATION

10

1

Exception fundamentals and the need of Exception Handling, Exception Types (checked Vs. unchecked), Try catch finally

2

Multiple catch clauses and nested try statements

Throw, throws, finally

Creating own Custom exceptions

11

1

GUI fundamentals (Important aspects to be considered in GUI)

AWT Classes (containers, layout and layout manager, controls)

Working with frame windows, creating window program

2

Managing text, fonts, colors, setting controls properties

Java Swings (containers, layouts, controls), AWT vs. Swings

12

1

Java Support for Event Handling

Understanding event handling mechanism, Delegation Event model

Sources of events, event listener interfaces

2

Working with swings (buttons, text fields, menus, combo box, check boxes, radio buttons, tables etc)

Creating Custom Event Listener

13

1

Use of ArrayList

Comparable and Comparator Interface

The Collection Framework

Collection overview, collection classes

Use of array list, comparison with arrays, use of linked lists

2

Accessing a collection via iterator

Storing user defined class objects in collections

Enums

 

14

1

What is Java Data Base Connectivity?, important steps to use JDBC

Types of driver for DataBase connectivity, Types of JDBC statement

2

What is MetaData? What is ResultSet? Implementation of connectivity, query execution, and retrieving result

15

1

Types of Resultset (Updateable & Scrollable ResultSet)

2

Processing the result after retrieving from the ResultSet

Binding result set with swing controls (jtable, jtree , jtextbox, jlist etc)

16

1

Reading and writing files,   Scanner VS buffered reader

Input and Output Stream , Final Streams and Processing Streams ,  XML File

2

Introduction to Multi-Threading, Need & Benefits of Multi-threading, Issues with Multi-threading, Runnable Interface

 

 

FINAL EXAMINATION


Subpages (4): marks marks-B marks-C projects
Ċ
Yasir Niaz Khan,
Apr 27, 2017, 4:03 AM
Ċ
Yasir Niaz Khan,
Apr 26, 2017, 11:57 PM
Ċ
Yasir Niaz Khan,
Apr 27, 2017, 4:03 AM
Ċ
Yasir Niaz Khan,
Apr 27, 2017, 4:04 AM
Comments