Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSC305 Lecture 03

CSC305 Lecture 03

Individual Software Design and Development
Object-Oriented Design
(202509)

Javier Gonzalez-Sanchez PRO

September 26, 2025

Transcript

22 slides
  1. Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227

    CSC 305 Individual Software Design and Development Lecture 03. Object-Oriented Design
  2. Parts 4 Engine (Br a in) M a in View

    (I/O) Bo a rd (D a t a ) Pl a yer (Controller)
  3. Lab

  4. Problem 21 public class B implements E { public B()

    C c1 = new C(); } public void method(A a) { B b = new B(); b.sleep(); a.method(new D()); } } public class Y extends B { A [] a = new A[5]; } public class A extends B { C c1, c2; public A() { c1 = new C(); } public void method(D d) { d.working(); } } public class X { private String s; public void m() { B var = new A(); double x – Math.sqrt(5); } }
  5. CSC 305 Individual Software Design and Development Javier Gonzalez-Sanchez, Ph.D.

    [email protected] Fall 2025 Copyright. These slides can only be used as study material for the class CSC305 at Cal Poly. They cannot be distributed or used for another purpose.

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming