Skip to content

Les methodes

lcs01 edited this page Jan 28, 2019 · 6 revisions
          Méthodes 
  • Math.random

    int nb1 = (int) Math.floor(Math.random()* 1001)

  • length() : trouver la longueur

  • substring() : enlever un element

  • Scanner() : scanner

  • indexOf() : aller à l'index

  • toUpperCase() / toLowerCase : Mettre un majuscule / en

Clone this wiki locally