Computer Basics - 2
Description: Computer Basics Mix Test - 2 | |
Number of Questions: 15 | |
Created by: Tanya Dwivedi | |
Tags: Computer Basics Mix Test - 2 Computer Basics |
Which constant variable is not present in Long wrapper class?
Find out the true statements.
i. Iterator is used to obtain the element in the bi-directional direction. ii. Iterator is used to obtain the elements in the forward direction only. iii. List Iterator is used to obtain the element in the bi-directional direction. iv. List Iterator is used to obtain the element in the forward direction only.
Which class from the following options contains decode(String str) method?
Which class contains MAX_RADIX constant variable from the following options?
Find out the true statements.
i. HashMap allows null values in a key value pair. ii. HashMap does not allow null values in a key value pair. iii. Hashtable allows null values in a key value pair. iv. Hashtable does not allow null values in a key value pair.
Find out the true statements.
i. HashMap is synchronized. ii. HashMap is non-synchronized. iii. Hashtable is non-synchronized. iv. Hashtable is synchronized.
What is the default size of Vector in Java?
What is the other name for annotation in Java?
Th enumeration constant position in the list of constants is known as
Which interface is automatically extended by all annotation types?
The superclass for all enumerations in java known as
Find out the true statement.
i. Enum should be instantiated using new keyword. ii. Enum should not be instantiated using new keyword. iii. Enum can have constructors. iv. Enum do not have any constructors.
What is the starting point for the ordinal values?
Which is true from the following statements?
i. An enumeration can inherit another class. ii. An enumeration cannot inherit another class. iii.An enum can be a superclass. iv. An enum can never be a superclass.
Find out the true statements.
i. Iterator is used to obtain and remove the elements from the collection. ii. Iterator is used to obtain and modify the elements in the collection. iii. List Iterator is used to obtain and remove the elements from the collection. iv. List Iterator is used to obtain and modify the elements in the collection.