Search Header Logo

PEC-OOPS

Authored by see tha

Education

11th Grade

Used 5+ times

PEC-OOPS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the valid statement to declare and initialize an array.

int[] A = {}

int[] A = {1, 2, 3}

int[] A = (1, 2, 3)

int[][] A = {1,2,3}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the valid statement to declare and initialize an array.

int[][] A = {1,2,3}

int[] A = {}

int[] A = {1, 2, 3}

int[] A = (1, 2, 3)

int[][] A = {1,2,3}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When is the object created with new keyword?

At Run time

At compile time

Depends on the Code

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the corrected definition of a package.

A package is a collection of editing tools

A package is a collection of classes

A package is a collection of classes and interfaces

A package is a collection of interfaces

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A blueprint for a software object is called a ___.

object

program

API

class

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many Bytes are reserved for "Char" data type in JAVA?

1 Byte

2 Bytes

2 Bits

14 Bits

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the keyword among the following that makes a variable belong to a class,rather than being defined for each instance of the class.

final

static

volatile

abstract

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?