MELJUN CORTES Java Lecture CRC Exercises

333 views

Published on

MELJUN CORTES Java Lecture CRC Exercises

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
333
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

MELJUN CORTES Java Lecture CRC Exercises

  1. 1. CRC Car d Exer cise MELJUN CORTES Java Fundamentals and Object Oriented Programming The Complete Java Boot Camp MELJUN CORTES
  2. 2. CRC Cards  CRC stands for “Class, Responsibility, Collaboration”  Exercise in Object-Oriented Design
  3. 3. CRC Cards Class/Interface Name: Superclass/Interfaces: Responsibility: Collaborators:
  4. 4. Scenario Execution (Role Playing) 1. Pick a use case 2. Pick a card that starts the implementation of a use case. Pretend you are the class in the card. Explain what you are doing. 3. Call on other people (assigned to cards) to help you implement the use case. 4. If you find new classes are necessary, create new cards. If you need to change or delete classes, create new cards.
  5. 5. Scenario Execution (Role Playing)  Try other use cases  Try alternative paths
  6. 6. Scenario Execution (Role Playing)  Try other use cases  Try alternative paths

×