Spring 2020: Programming in Java

From MKWiki
Jump to navigation Jump to search

Logistics

  • Class Timings: Thursdays(3rd,4th slot), Fridays(1st,2nd slot)
  • Classroom: R33(Thursdays), R34(Fridays)
  • Lab Timings:Wednesdays(Lab3/Lab4)

Course Overview

Lectures

Date Topic Lecture Slides [ppt/pdf] Readings
Fri 10/01 The History and Evolution of Java. An Overview of Java Lect01.pdf, OOPs Principles [ Class notes ] Chapter 1,2
Thu 16/01 OOPs Principles, JVM Architecture Lect02.pdf, OOPs Principles [ Class notes ] Chapter 2
Fri 17/01 Data Types, Variables,and Arrays. Operators. Control Statements. Lect03.pdf Chapter 3, 4, and 5
Wed 29/01 Introducing Classes Lect04.pdf Chapter 6
Thu 30/01 Introducing Classes(2) Constructors, this keyword, A Stack Class, Garbage Collection, The finalize() Method [ Class notes ] Chapter 6
Wed 12/02 A Closer Look at Methods and Classes Lect06.pdf Chapter 7
Thu 13/02 A Closer Look at Methods and Classes (2) Lect07.pdf Chapter 7
Thu 20/02 A Closer Look at Methods and Classes (3) final keyword, Arrays Revisited, Nested and Inner Classes, Varargs, Using Command-Line Arguments, Exploring the String Class [ Class notes ] Chapter 7 Chapter7.pdf
Fri 21/02 Inheritance Inheritance basics [ Class notes ] Chapter 8
Thu 05/03 Inheritance basics, Using super, Creating a Multilevel Hierarchy, When Constructors are executed. Lect10.pdf Chapter 8
Fri 06/03 Method overriding, Dynamic Method Dispatch, Using Abstract Classes, Using final with Inheritance, The Object Class. Lect11.pdf Chapter 8
L12 Packages Lect12.pdf Chapter 9
L13 Interfaces Lect13.pdf Chapter 9
L14 Exception Handling Lect14.pdf Chapter 10
L15 Multithreaded Programming Lect15.pdf Chapter 11, Till page 246
L16 Enumerations, Autoboxing,and Annotations (Metadata) Lect16.pdf Chapter 12, Till page 279
L17 I/O, File Operations(Create a File, Get File Information, Write To a File, Read from a File) Lect17.pdf Chapter 13, Till page 321

Read File Class for file operations.

L18 String Handling Lect18.pdf Chapter 16
L19 The Applet Class Lect19.pdf Chapter 23, Till page 764
L20 Event Handling and AWT(Abstract Window Toolkit) Lect20.pdf Chapter 24,25
L21 Swing (Introduction to Swing, Swing vs. AWT, Hierarchy for Swing components, Creating GUI applications using Swing) Online Tutorial Chapter 31

Read about Swing form [1]

Assignments and Tests

Assignments

  • A1
  • A2
  • A3
  • Assignments(A1,A2,A3) Submission deadline is 20th April, 2020.

Tests

  • Test 1: Held on 20/02/2020
  • T2
  • T3

Resources