GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

String Method Review

Shannon Anderson-Rush 2 Fragen 1.214 Aufrufe

Quiz starten

Fragen in diesem Quiz (2)

  1. 1Consider the following code segment:
    String newString = "Welcome";
    String anotherString = "Home";
    newString = anotherString + "Hello";
    What is the value of newString?
    1. AHomeHello
    2. BHelloHello
    3. CWelcomeHello
    4. DWelcome Hello
    5. EHome Hello
  2. 2Which of the following returns the last character of the string str?
    1. Astr.substring(0);
    2. Bstr.substring(0, str.length());
    3. Cstr.substring(length(str));
    4. Dstr.substring(str.length()-1);
    5. Estr.substring(str.length());

Informationen

Beschreibung
AP Computer Science Quiz am String Method Review, erstellt von Shannon Anderson-Rush am 05/10/2020.
Sprache
English
Aufrufe
1.214
Schlagwörter
computer scienceap
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck