Hey Konnor,
Glad I could help...
Check out the Sun Java Tutorials:
Lesson: Exceptions (The Java™ Tutorials > Essential Classes)
The try Block (The Java™ Tutorials > Essential Classes >...
Type: Posts; User: JavaPF
Hey Konnor,
Glad I could help...
Check out the Sun Java Tutorials:
Lesson: Exceptions (The Java™ Tutorials > Essential Classes)
The try Block (The Java™ Tutorials > Essential Classes >...
Hello Konnor and welcome to the Java Programming Forums :)
Here is a simple method for you:
import java.util.Scanner;
public class Konnor {