Hercles Posted March 16, 2015 at 03:06 PM Report Share #579538 Posted March 16, 2015 at 03:06 PM (edited) Caros, existe algum método que informa o tamanho da variável tipo: Scanner n1 = new Scanner(System.in); int b = n1.nextInt(); no Console eu digite 999 ai me informe 3 (dígitos). Edited March 16, 2015 at 04:58 PM by apocsantos Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now