Simple, you have un-reachable code. The System.out.println("Cubed: " + newAmount); can never be reached because your method has already returned. Change your program to this:
import...
Type: Posts; User: helloworld922
Simple, you have un-reachable code. The System.out.println("Cubed: " + newAmount); can never be reached because your method has already returned. Change your program to this:
import...