SHARE
TWEET

Solution

gerganaalex Feb 14th, 2020 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Exception in thread "main" java.lang.NumberFormatException: For input string: "1.2"
  2.     at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
  3.     at java.base/java.lang.Integer.parseInt(Integer.java:652)
  4.     at java.base/java.lang.Integer.parseInt(Integer.java:770)
  5.     at TrapeziodArea.main(TrapeziodArea.java:7)
  6.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  7.     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  8.     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  9.     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
  10.     at _$SandboxExecutor.main(_$SandboxExecutor.java:38)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top