Download Introduction to Java Programming: Course Syllabus and Lecture Notes and more Lecture notes Java Programming in PDF only on Docsity!
Quote for the course
Class Coverage
- Overview: Introduction, history…..
- Java Basics
- Selection Control Statements
- Loop Control Statements
- Classes
- Arrays
- Object Oriented Programming Principles
- File Handling
- Exception Handling
- Database with Java
- GUI Programming
Course Website
- https://sites.google.com/view/sakpere- aderonke-busayo o Lecture slides, other materials on website o Please check at least three days in a week o Assignment submission electronically to [email protected]
Decision Making
What will help you to thrive in this
class
- Analytical and Logical Skills
- Patience
- Ability to break down complex task
- Good Communication Skills
- Knowledge of CSC 102 & 103
Assessment
- Attendance: 100%
- Project
- Assignments
- Test: Impromptu (Before or after each lecture)
- Examination
Course Material and Textbooks
- Object Oriented Programming in Java by the Department of Computer Science, University of Cape Town
- Java programming book by Dr S.O. Akinola, Department of Computer Science, University of Ibadan
- Java Programming book by Dietel & Dietel
Today’s Lecture:
Overview: Introduction, what’s, how’s...
Introduction to Java
- What have you heard about Java?
- What do you know about Java?
- What have you done with Java?
Introduction
- What are we going to do with Java in this course? o General Purpose o Object Oriented Perspective o Accessing files o Design and Programming of User Interface o Accessing database
Introduction: Java as OOP
- Java is an object-oriented programming (OOP)
language
- Programming methodology that views a program as consisting of objects that interact with one another by means of actions (called methods )
- Objects of the same kind are said to have the same type or be in the same class
Introduction: Java as OOP
- In real-life, we often have complex problems that might require many actors (bosses). Such scenarios call for OOP
- A good demonstration is when acting a play. o Many actors are involved, o Each actor has to interpret his/her scenes o Though different actors are involved but they all work together to achieve a common goal
Introduction
- Other high-level languages have constructs called procedures, methods, functions, and/or subprograms
o These types of constructs are called methods in Java
o All programming constructs in Java, including methods , are part of a class
Lessons learnt so far on
programming concepts
- Recipes as algorithm is an analogy of structured programming
- Play scripts as algorithm is an analogy of OOP o In OOP, you have different objects working together to achieve a common goal