choongzhanhong / pe

0 stars 0 forks source link

UI Component Class Diagram #13

Open choongzhanhong opened 1 year ago

choongzhanhong commented 1 year ago

Again, please correct me if I am wrong. Here are my comments:

  1. I am a little confused at the printf method signature. Is format String supposed to be String format? And I assume Object... args are the objects you want to represent in the string format. The variable type and name seem to be inconsistently ordered, or is it the colon : not written?
  2. printMessage also. What is message Object, and is it referring to the enum? (In that case, should be capital M).
nus-se-script commented 1 year ago

Team's Response

message is not an object, it is the variable name. Object is just a generic type. You can refer to the image below

Screenshot 2023-04-16 at 3.57.56 PM.png

https://www.javatpoint.com/object-class

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]