Search Header Logo

ISAC Weekly Quiz SEM2 #3

Authored by Luqman Hakim

Computers

University

Used 1+ times

ISAC Weekly Quiz SEM2 #3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which option is false about the final keyword?

final method cannot be overridden in its subclasses.

final class cannot be extended.

final class cannot extend other classes

final method can be inherited.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which keyword is used for accessing the features of a package?

package

import

extends

export

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

int values[ ] = {1,2,3,4,5,6,7,8,9,10};

for(int i=0;i< Y; ++i)

System.out.println(values[i]);


Find the value of value[i]?

10

11

15

None of the above

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these have highest precedence?

()

++

*

>>

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these operators is used to allocate memory to array variable in Java?

alloc

malloc

new malloc

new

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Java program processing always starts with main() method

True

False

7.

MULTIPLE CHOICE QUESTION

45 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

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?