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

Quiz

Code Crasher Prelims

prabu .G 20 Fragen

Quiz starten

Dieses Quiz hat ein Zeitlimit und öffnet sich deshalb im gewohnten Player.

Fragen in diesem Quiz (20)

  1. 1The process of converting one data type to another is called
    1. ATranslating
    2. BCasting
    3. CCompile
    4. DDeclaring
  2. 2"Use of undeclared variables" is the ___________ type of error
    1. ALogical
    2. BException
    3. CRun-Time
    4. DCompile-Time
  3. 3In List,if no item is selected then the method getSelectedIndex() returns_______________
    1. A0
    2. B1
    3. C-1
    4. DNULL
  4. 4Strings are instances of class String.
    1. ARichtig
    2. BFalsch
  5. 5Which of the following operators are used in conjunction with the "this" and "super" references?
    1. AThe new operator
    2. BThe instance operator
    3. CThe dot operator
    4. DNone of these
  6. 6When a program does not want to handle the exception,the ______________class is used
    1. AThrows
    2. Btry -catch
    3. Cfinally
    4. DNone of these
  7. 7What is the output of the program?
    public class Question {
    public static void main(String args[]) {
    String s1="abc";
    String s2="def";
    String s3=s1.concat(s2.toUpperCase());
    System.out.println(s1+s2+s3);
    }
    }

    1. Aabcdefabcdef
    2. BabcdefDEFDEF
    3. CabcdefabcDEF
    4. DNone of the above
  8. 8Which of the following methods of the Graphics class?
    1)darwRect() 2)drawImage()
    3)drawPoint() 4)drawString()
    1. A1,2 and 4
    2. B2,3 and 4
    3. C1,2 and 3
    4. D1,3 and 4
  9. 9Which of the following are TRUE?
    1)The Class class is the superclass of the object class.
    2)The Object class is final.
    3)The Class class can be used to load the other classes
    4)The ClassLoader class can be used to load other classes
    1. A3 and 4
    2. B1 and 4
    3. C2 and 4
    4. D2 and 3
  10. 10Which of the following creates a List with 5 visible items and multiple sections enabled?
    1. Anew List(5,true)
    2. Bnew List(true,5)
    3. Cnew List(5,false)
    4. Dnew List(false,5)

Informationen

Beschreibung
Quiz am Code Crasher Prelims, erstellt von prabu .G am 19/09/2017.
Sprache
English
Aufrufe
60
Schlagwörter
verge 2k17 debug prelimsmedium
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck