Java basic

Java basic

University

21 Qs

quiz-placeholder

Similar activities

23RO2005 - Electrical Machines - Quiz 1

23RO2005 - Electrical Machines - Quiz 1

University

16 Qs

Cipher Quest Round 1&2 Combined Set 1

Cipher Quest Round 1&2 Combined Set 1

University

20 Qs

Mass and Weight Measurement

Mass and Weight Measurement

University

20 Qs

CHE433-V01-Prelim

CHE433-V01-Prelim

University

20 Qs

S3ME QUIZ MODULE 3

S3ME QUIZ MODULE 3

2nd Grade - University

16 Qs

SUMATIF TENGAH SEMESTER  TPNK (CNC)

SUMATIF TENGAH SEMESTER TPNK (CNC)

12th Grade - University

20 Qs

Code Sprint '25

Code Sprint '25

University

20 Qs

Sistemas de control

Sistemas de control

University

17 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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?