You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
better dont create classes directly in src. create another packages in src. from Java Code Convention: "The prefix of a unique package name is always written in all-lowercase ASCII letters and should be one of the top-level domain names, currently com, edu, gov, mil, net, org... Subsequent components of the package name vary according to an organization’s own internal naming conventions." For example: com.sun.eng
com.apple.quicktime.v2
it`s not a good practice to write everything in one class. From SOLID principles (you'll study later) letter S means that class should have single responsibility. In first homework I accept it. but in future try to avoid that
Main.java#L29 it works wrong. try to pass bets(3, 2, 3, 0) you'll get java.lang.ArithmeticException: / by zero - CHAHGE it
com.apple.quicktime.v2
-Main.java#L54 why method returns double, if it accept int parameters
for future: better each variable from new line
RESULT: change task1.1
The text was updated successfully, but these errors were encountered: