English sottotitoli

← Array of Strings - Intro to Java Programming

Ottieni il codice di inserimento
5 Lingue

Mostrare Revisione 4 creata 05/25/2016 da Udacity Robot.

  1. To declare an array of strings with space for ten
  2. values, we would make the variable, and give it a
  3. type of string array, and an initial value of a
  4. new string array with space for ten items. To declare
  5. an array of strings that contains two values, yes and
  6. no, we'll use the curly brace notation. The type is
  7. the same as before, but now we put the strings,
  8. yes and no, in the curly braces separated by commas.