Thank u very much you have been really helpfull i figured out where my error was, basically i needed an System.exit() thats why i wasn't having the error message
Here is my code maybe it will help...
Type: Posts; User: meziane
Thank u very much you have been really helpfull i figured out where my error was, basically i needed an System.exit() thats why i wasn't having the error message
Here is my code maybe it will help...
I have a suggestion there is the .hasNextInt method but i don't really know how to use it. may i have some help please ?? >:D<
Sorry for bothering you it is my first time using this forum :p but thank you for your help rally appreciate it
import java.util.Scanner; // Import Scanner clas
public class...
can i have an example of that with a if statement exception ?? and here is my code i want an exception for my year and my day number so that the program outputs an error message if the input is other...
but mine is not a character its a whole string and it is required that i'm not using loops :/
Hi every one so basically i'd like to know which method i can use so that the program checks if the input value is a digit or else outputs a message saying that `the value entered is not a number...