Monday, 11 April 2016

Java Basic Quiz -1

Java Basic Quiz -1

Please select atleast one option
  1. Which one is thread safe ?

  2. ArrayList
    HashTable
    HashMap

  3. How many public class created in one java file ?

  4. 1
    2
    3

  5. Which of these method of class String is used to compare two String objects for their equality? ?

  6. Equals()
    equals()
    iseEqual()

  7. Standard output variable ‘out’ is defined in which class?

  8. Process
    Runtime
    System

  9. Which of the following is correct way of implementing an interface salary by class manager?

  10. class manager implements salary {}
    class manager imports salary {}
    class manager extends salary {}

If you have any doubt mail me : jpt112233@gmail.com
Post a Comment