Java Genius

Java Genius

University

20 Qs

quiz-placeholder

Similar activities

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

coe java 24 june 21 7:30 to 745 pm only

coe java 24 june 21 7:30 to 745 pm only

University

20 Qs

Multithreading in java

Multithreading in java

University

20 Qs

Fundamentos JAVA

Fundamentos JAVA

University

20 Qs

Java Programming

Java Programming

University

20 Qs

Java Quiz 1

Java Quiz 1

University

20 Qs

Java thread - MCQ

Java thread - MCQ

University

18 Qs

Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

Java Genius

Java Genius

Assessment

Quiz

Computers

University

Hard

Created by

CSM -A

Used 3+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?