In each case click the single most appropriate response. Only the correct response will register in the radio button.

Access allowed by all methods in class or any subclass ...

abstract
public
final
static
protected

Class that cannot be subclassed ...

abstract
public
final
static
protected

Class that cannot be instantiated ...

abstract
public
final
static
protected

Method whose body is left unspecified ...

abstract
public
final
static
protected

In a UML class diagram ...

+ means public
- means private
# means protected
all of the above
none of the above

The trim method of the String class ...

eliminates all whitespace
eliminates all leading whitespace
eliminates all trailing whitespace
eliminates all enclosed whitespace
eliminates all leading and trailing whitespace

The equals method of the String class ...

tests for equality of content
tests for equality of length
tests for equality of location
tests for equality of case
tests for equality of initial case

A string is a collection of ...

abstracts
integers
floating-point numbers
characters
booleans

A Locale ...

contains country information
contains language information
both of the above
none of the above
is a type of Sainsburys store

A Java interface is ...

a class
an object
an attribute
a method
a set of requirements for classes that want to conform

Wrong answers so far:

top