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

Quiz

Test

Juan Carlos Duarte Amaya 2 Fragen Aktualisiert am 10 Feb 2017

Quiz starten

Fragen in diesem Quiz (2)

  1. 1Which of the following are valid Java identifiers? (Choose all that apply)
    1. AA$B
    2. B_helloWorld
    3. Ctrue
    4. Djava.lang
    5. EPublic
    6. F1980_s
  2. 2What is the output of the following program?
    public class WaterBottle {
    2: private String brand;
    3: private boolean empty;
    4: public static void main(String[] args) {
    5: WaterBottle wb = new WaterBottle();
    6: System.out.print("Empty = " + wb.empty);
    7: System.out.print(", Brand = " + wb.brand);
    8: } }
    1. ALine 6 generates a compiler error.
    2. BLine 7 generates a compiler error.
    3. CThere is no output.
    4. DEmpty = false, Brand = null
    5. EEmpty = false, Brand =
    6. FEmpty = null, Brand = null

Informationen

Beschreibung
Curso Interno de Empresa Ingenieria Quiz am Test, erstellt von Juan Carlos Duarte Amaya am 10/02/2017.
Sprache
English
Aufrufe
10
Verlauf
Erstellt am 10 Feb 2017 · aktualisiert am 10 Feb 2017
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck