Skip to content

Pet & MyMath by @AlexU238#1

Open
AlexU238 wants to merge 3 commits into
oleksandr-kazimirov:masterfrom
TrainingInc:master
Open

Pet & MyMath by @AlexU238#1
AlexU238 wants to merge 3 commits into
oleksandr-kazimirov:masterfrom
TrainingInc:master

Conversation

@AlexU238
Copy link
Copy Markdown

No description provided.

Comment thread MyMath.java Outdated
private static final double G=9.8;
private static final int Two=2;

public static void subtract(){
Copy link
Copy Markdown
Owner

@oleksandr-kazimirov oleksandr-kazimirov Jul 19, 2019

Choose a reason for hiding this comment

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

@it'd better have static methods with params instead of using unuseful constants only

public static int sum(int a, int b){
return a+b
}

Copy link
Copy Markdown
Owner

@oleksandr-kazimirov oleksandr-kazimirov left a comment

Choose a reason for hiding this comment

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

👍

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