Lecture 1 : What is an Object? 2 Rules of Smalltalk



Download 329.34 Kb.
Page6/6
Date19.05.2018
Size329.34 Kb.
#49250
1   2   3   4   5   6




  • Design Pass 3 (composition)

  • Now we create a Portfolio class to hold all of the primary investment aim (risk level) and the collection of investments.

  • We’ll create two state variables which hold the two collections of objects made up from the two classed defined in Pass 2.






Download 329.34 Kb.

Share with your friends:
1   2   3   4   5   6




The database is protected by copyright ©ininet.org 2024
send message

    Main page