Created
March 9, 2019 16:05
-
-
Save vincentius15/6f7caf2efc77da07ff84260fab60b1c4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
public static void main(String[] args) { | |
MovingObject object = new MovingObject(10, 10, 10 ); | |
System.out.println(object.displacement()); | |
System.out.println(object.currentMomentum()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment