Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Practice5 kimminjun514 #23

Merged
merged 2 commits into from
Jul 19, 2023
Merged

Practice5 kimminjun514 #23

merged 2 commits into from
Jul 19, 2023

Conversation

StayInTheKitchen
Copy link
Collaborator

Chapter5 practice

Comment on lines +29 to +37
class Calculator2 {

static int result = 0;

static int add(int num) {
result += num;
return result;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋네요~

Comment on lines +43 to +57
// System.out.println(Calculator1.add(3));
// System.out.println(Calculator1.add(4));
//
// System.out.println(Calculator2.add(7));
// System.out.println(Calculator2.add(3));

// Calculator cal1 = new Calculator();
// Calculator cal2 = new Calculator();
//
// System.out.println(cal1.add(3));
// System.out.println(cal1.add(4));
// System.out.println(cal1.sub(9));
//
// System.out.println(cal2.add(3));
// System.out.println(cal2.add(7));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이건 왜 주석인가요?

@shkisme shkisme merged commit 61dc0aa into main Jul 19, 2023
@shkisme shkisme deleted the practice5-kimminjun514 branch July 19, 2023 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants