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

Quiz

My Java Study Guide

Row Rowyer 29 Fragen

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem Quiz (29)

  1. 1___________ is attached to the class of the composing class to denote the aggregation relationship with the composed object.
    1. AAn empty diamond
    2. BA solid diamond
    3. CAn empty oval
    4. DA solid oval
  2. 2Write an expression that creates a Double object for the number 5.3
    [blank_start]_______________________________[blank_end]
    1. Anew Double(5.3)
  3. 3Write an expression that returns a decimal integer from a binary string 1011
    [blank_start]__________________________________[blank_end]
    1. AInteger.parseInt("1011", 2)
  4. 4Write an expression for the minimum int type value
    [blank_start]______________________________[blank_end]
    1. AInteger.MIN_VALUE
  5. 5The type of the first argument in Integer.parseInt() can only be of the String type
    1. ARichtig
    2. BFalsch
  6. 6s1 and s2 reference the same String object
    String s1 = new String("foo");
    String s2 = s1;
    s1 += "bar";
    1. ARichtig
    2. BFalsch
  7. 7Which of the following are real StringBuilder methods?
    1. Aclear
    2. Binsert
    3. Cadd
    4. Ddelete
    5. Ereverse
    6. FsetCharAt
    7. Gappend
  8. 8A subclass is a subset of its superclass
    1. ARichtig
    2. BFalsch
  9. 9If a parameter is an object the formal and actual parameters will reference the same object
    1. ARichtig
    2. BFalsch
  10. 10The output of the following code is: [blank_start]_________[blank_end]
    public class MainProgram {

    public static void main(String[] args) {
    C shore = new C();
    }
    }

    class A {
    public A() {
    System.out.print("A");
    }
    }

    class B extends A {
    public B() {
    System.out.print("B");
    }
    }

    class C extends B {

    }
    1. AAB

Informationen

Beschreibung
Quiz am My Java Study Guide, erstellt von Row Rowyer am 05/12/2018.
Sprache
English
Aufrufe
0
Schlagwörter
12th grade
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck