Search Header Logo

Mile Stone 1

Authored by Rahul Avulapati

Computers

University

Used 1+ times

Mile Stone 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?