Java Variables, Class and Objects

Java Variables, Class and Objects

University

25 Qs

quiz-placeholder

Similar activities

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Introduction to Java

Introduction to Java

University

25 Qs

Java Coding Questions

Java Coding Questions

University

20 Qs

CS 211 - Midterm Review

CS 211 - Midterm Review

University

30 Qs

Java Quiz

Java Quiz

University

25 Qs

Ciclos

Ciclos

12th Grade - University

23 Qs

QUIZ DASAR DASAR PEMROGRAMAN JAVA

QUIZ DASAR DASAR PEMROGRAMAN JAVA

11th Grade - University

20 Qs

AP CSA Unit 2 Review

AP CSA Unit 2 Review

9th Grade - University

22 Qs

Java Variables, Class and Objects

Java Variables, Class and Objects

Assessment

Quiz

Computers

University

Hard

Created by

ALDO STALIN J L

Used 11+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which declaration will throw an error?

double num = 8;

int averageGrade = 89.7;

boolean done = false;

String done = "true";

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the these variables allowed in java.

Local Variables

Instance Variables

Static Variables

All the above

none of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

sum is 1020

sum is 30

airthmetic error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

40

30

20

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

-10

10

error

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

predict output

Could not find or load main class sample

Could not find or load main class Hai

printed Hai

file name class name must me same

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

At the end of this fragment of code what is r1.count value?

10

-5

6

7

8

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?