Back

Welcome to your Selenium Practice Test - 7

A package is a collection of

For the method that does not return a value, the keyword used is

A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction?

Inheritance

What is the error in the following class definitions?

Abstract class xy { abstract sum (int x, int y) { } }

In Java, declaring a class abstract is useful

The methods wait ( ) and notify ( ) are defined in

What is garbage collection in the context of Java?

.The concept of multiple inheritances is implemented in Java by

I. Extending two or more classes. II. Extending one class and implementing one or more interfaces. III. Implementing two or more interfaces.

Which of these field declarations are legal within the body of an interface?

Enroll For Course !