Search Header Logo

java4

Authored by Karthika J

Other

Professional Development

Used 3+ times

java4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these keyword is used to define interfaces in Java?

interface
INTF
INTERFACE
None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these can be used to fully abstract a class from its implementation?

Objects
Packages
Interfaces
None of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these keyword is used by a class to use an interface defined previously?

import
extends
implements
IMPLEMENTS

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An interface in Java is like a 100%

abstract class
public class
inner class
anonymous class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All interface variables are _____ by default in Java

public
final
public & final
None of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All interface methods are _____ by default in Java

public
abstract method
public & abstract
None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these keywords is used to define a package in Java?

pkg
Pkg
Package
package

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?