Javaquiz

Javaquiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Friday Fun

Friday Fun

Professional Development

10 Qs

Bundlers

Bundlers

Professional Development

10 Qs

Fun with ML

Fun with ML

10th Grade - Professional Development

20 Qs

Nivelamento - Lógica (python)

Nivelamento - Lógica (python)

Professional Development

20 Qs

Pre Test Fundamental Kotlin

Pre Test Fundamental Kotlin

Professional Development

20 Qs

Intro to Node.js

Intro to Node.js

Professional Development

10 Qs

React/Javascript Quizz

React/Javascript Quizz

Professional Development

12 Qs

Introduction

Introduction

Professional Development

10 Qs

Javaquiz

Javaquiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Mukesh Otwani

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is not a Java feature?

Object-oriented

Use of pointers

Portable

Dynamic and Extensible

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the extension of byte code files?

.java

.class

.byte

.js

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Output of below code

int a=10;

int b=a++;

System.out.println(b);

10

11

12

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Output of below code

int a=10;

int b=++a;

System.out.println(b);

10

11

12

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output of the below statement

public static void main(String[] args) {

int x=5;

{

int y = 6;

System.out.print(x + " " + y);

}

System.out.println(x + " " + y);

}

Runtime error

Compilation error

5656

565

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Output of the below code

class Box{

int width;

int height;

int length;

}

public class Day1 {

public static void main(String[] args) {

Box obj = new Box();

obj.width = 10;

obj.height = 2;

obj.length = 10;

int y = obj.width * obj.height *obj.length;

System.out.print(y);

}

400

100

200

Runtime Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these keywords is used to define interfaces in Java?

interface

Interface

InterFace

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?