Java basic

Java basic

University

21 Qs

quiz-placeholder

Similar activities

INDUSTRIAL  AUTOMATION

INDUSTRIAL AUTOMATION

University

20 Qs

Random Quiz on IEM_Sept 2025

Random Quiz on IEM_Sept 2025

University

18 Qs

Greek & Latin Roots Quiz 19

Greek & Latin Roots Quiz 19

5th Grade - University

17 Qs

BE23CS407 - Design and Analysis of Algorithms (Unit-1)

BE23CS407 - Design and Analysis of Algorithms (Unit-1)

University

20 Qs

KL3271 - Kuis #8: Manajemen dan Estimasi Biaya

KL3271 - Kuis #8: Manajemen dan Estimasi Biaya

University

20 Qs

Mastering Time and Work Concepts

Mastering Time and Work Concepts

12th Grade - University

20 Qs

Computer Networks CT-3

Computer Networks CT-3

University

20 Qs

ROUND 1 OF IPL AUCTION

ROUND 1 OF IPL AUCTION

University

20 Qs

Java basic

Java basic

Assessment

Quiz

Engineering

University

Practice Problem

Hard

Created by

Venishaa Natarajan

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what is the output of the code?

AB

195

131

Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code?

ABA

AB65

Error

AB

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code?

HelloGuys!

Hello Guys!

Hello

Guys!

Compile with a Warning

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is byte code in Java?

  1. It is another name for java source file that contain the information about the hardware.

  1. It is a binary code generated by the Java Virtual Machine for operating system.

  1. It is an intermediate code generated by the java compiler for Java Virtual Machine.

  1. None of these

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the code?

10

a

Unprintable Character

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the correct declaration of a boolean variable?

  1. boolean isAdult='false';

  1. boolean isAdult=0;

  1. boolean isAdult="false";

  1. boolean isAdult=false;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Output of the program?

12345678910

11

Error

1 2 3 4 5 6 7 8 9 10

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?