You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ReturnTypes.java 250B

1234567891011
  1. import org.aspectj.testing.Tester;
  2. public class ReturnTypes {
  3. public static void main(String[] args) {
  4. Tester.check(convertDouble("2") == 0.0, "return types");
  5. }
  6. static double convertDouble(Object o) {
  7. return 0;
  8. }
  9. }