Mile Stone 1

Mile Stone 1

University

15 Qs

quiz-placeholder

Similar activities

Code Combat

Code Combat

University

15 Qs

Java Quiz 1

Java Quiz 1

University

10 Qs

MindSpace - Networking

MindSpace - Networking

University

15 Qs

UTS Teori PJR 2024

UTS Teori PJR 2024

University

20 Qs

DSC NTU React Workshop Part 2

DSC NTU React Workshop Part 2

University

20 Qs

Basic Java Quiz

Basic Java Quiz

University

15 Qs

Java, part I

Java, part I

11th Grade - University

20 Qs

Episode 16

Episode 16

University

18 Qs

Mile Stone 1

Mile Stone 1

Assessment

Quiz

Computers

University

Hard

Created by

Rahul Avulapati

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Among the following is not a popular IDE for Java development?

Visual Studio Code

Eclipse

NetBeans

IntelliJ IDEA

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A java program that is embedded in HTML document and runs in the context of java capable browser is known as______.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Java monitor used in threading code must either extend Thread or implement Runnable.

True

False

Answer explanation

A monitor is an instance of any class that has synchronized code.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

public static void main(String[] args)  { 
   try { 
      throw new IOException(); 
   } catch (__________________________ ) { } 
} 
Which of the following fills in the blank to make the code compile? (Choose all that apply)

IOException e | RuntimeException e

IOException | RuntimeException e

FileNotFoundException e | RuntimeException e

FileNotFoundException | RuntimeException e

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are the java primitive types?

short

boolean

long double

double

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the output of the following program?

String str="Hellow";

System.out.println(str.indexOf('t'));

-1

True

0

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Total constructors String class have?

13

7

20

3

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?