GoConqr has a new look! Let us know what you think.

Quiz

2

Ricky Zhang 20 questions

Take the quiz

Questions in this quiz (20)

  1. 1None of the wrapper classes own any static methods.
    1. ATrue
    2. BFalse
  2. 2You can invoke String methods from a String literal.
    1. ATrue
    2. BFalse
  3. 3Two instances of the Integer wrapper class can be compared for equality, on the basis of their int values, using ==.
    1. ATrue
    2. BFalse
  4. 4The StringTokenizer .nextToken() method actually removes tokens from the tokenizer object.

    1. ATrue
    2. BFalse
  5. 5If a method performs an action that could result in an Exception, that action must be contained in a try/catch block.
    1. ATrue
    2. BFalse
  6. 6The code that might generate an exception that you wish to catch must be written just before the beginning of the try block.
    1. ATrue
    2. BFalse
  7. 7A try/catch block is used to catch exceptions.
    1. ATrue
    2. BFalse
  8. 8Exceptions are Objects
    1. ATrue
    2. BFalse
  9. 9The value contained in a static attribute can be different for every instance of the class that defines that attribute.
    1. ATrue
    2. BFalse
  10. 10A class definition determines and limits the behaviour of an instance of that class.
    1. ATrue
    2. BFalse

Information

Description
Quiz on 2, created by Ricky Zhang on 18/04/2018.
Language
English
Views
13
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?