Search Header Logo

Java Genius

Authored by CSM -A

Computers

University

Used 3+ times

Java Genius
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

20 sec • 1 pt

What is not the use of “this” keyword in Java?

Referring to the instance variable when a local variable has the same name

Passing itself to the method of the same class

Passing itself to another method

Calling another constructor in constructor chaining

2.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

formula which gives instructions for the computer to perform a specific task

Data structure

bit depth

bit-mapped graphic

Algorithm

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct main() method signature in Java?

public static void main (String [] args)

public static void Main (String [] args)

public static void main (string [] args)

public static void main (String args)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_______ is a piece of memory that can contain a data value.

array

structure

string

variable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these are selection statements in Java?

break

continue

for( )

if( )

Answer explanation

Explanation: Continue and break are jump statements, and for is a looping statement.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Arrange the words given below in a meaningful sequence.

1. Police 2. Punishment 3. Crime 4. Judge 5. Judgement 

3, 1, 2, 4, 5

1, 2, 4, 3, 5

5, 4, 3, 2, 1

3, 1, 4, 5, 2

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Number of primitive data types in Java are ?

Answer explanation

There are 8 types of primitive data types- int, char, boolean, byte, long, float, short, double.

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?