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

CSC509 Lecture 03

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

CSC509 Lecture 03

Software Design
Object-Oriented Design II
(202510)

Javier Gonzalez-Sanchez PRO

September 30, 2025

Transcript

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

    CSC 508/9 Software Engineering (Design & Deployment) Lecture 03. Object-Oriented Design II
  2. Draw the Diagram 12 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 { private A []a = new A[5]; private X var = new X(); protected Y instance; } 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); } }
  3. Parts 14 Engine (Br a in) M a in View

    (I/O) Bo a rd (D a t a ) Pl a yer (Controller)
  4. 28

  5. CSC 508/9 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