id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

dario.sonego@gmail.com esercizi_stringhe > soloNumeri
prev  |  next  |  chance

solo numeri
Controllare che una stringa abbia solo caratteri di tipo numerico.
Se la stringa è vuota la funzione restituisce true.
Se la stringa è nulla, la funzione restituisce false.


soloNumeri("0123456789") → true
soloNumeri("2E3") → false
soloNumeri("000") → true

...Save, Compile, Run (ctrl-enter)

boolean soloNumeri(String s) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 220 Post-solution available

Copyright Nick Parlante 2017 - privacy