Javaquiz

Javaquiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

MATERIAL DIDACTICO - TEST JAVA- KHIPU

MATERIAL DIDACTICO - TEST JAVA- KHIPU

Professional Development

10 Qs

Java Fundamentals

Java Fundamentals

Professional Development

11 Qs

interfaces, final , inheritance

interfaces, final , inheritance

Professional Development

20 Qs

QUIZ-5 static, String and StringBuffer

QUIZ-5 static, String and StringBuffer

Professional Development

20 Qs

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

Javascript - 02

Javascript - 02

Professional Development

20 Qs

Java Displaying Data & Data Types

Java Displaying Data & Data Types

University - Professional Development

12 Qs

Code.org CSA Unit 2

Code.org CSA Unit 2

Professional Development

20 Qs

Javaquiz

Javaquiz

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Mukesh Otwani

Used 11+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?