Search Header Logo

Programming in JAVA QUIZ

Authored by padma priya

Computers

1st - 5th Grade

Used 5+ times

Programming in JAVA QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java program processing always starts with main() method

YES

NO

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java supports both Primitive & Non-Primitive(User Defined) datatypes. Which one of the following is not a primitive datatype?

byte

short

long

class

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these are Access Modifiers in java?

default

public

protected

all of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can Abstract classes instantiated?

yes

no

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you mean by nameless objects?

  1. An object created by using the new keyword.

  1. An object of a superclass created in the subclass.

  1. An object without having any name but having a reference.

  1. An object that has no reference.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an immediate subclass of the Panel class?

  1. Applet class

  1. Window class

  1. Frame class

  1. Dialog class

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option is false about the final keyword?


  1. A final method cannot be overridden in its subclasses.

  1. A final class cannot be extended.

  1. A final class cannot extend other classes.

  1. A final method can be inherited.

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?