Search Header Logo

Java Introduction

Authored by sudha reddy

Computers

University

Used 5+ times

Java Introduction
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which component is used to compile, debug and execute java program?

JVM

JDK

JIT

JRE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

.Which component is responsible to optimize bytecode to machine code?

JDK

JRE

JIT

JVM

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the below is invalid identifier with the main method?

public

final

static

private

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the extension of compiled java classes?

.class

.java

.pdf

.txt

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these have highest precedence?

( )

++

*

^

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the order of precedence (highest to lowest) of following operators?

1.&

2.^

3.?:

1>2>3

3>2>1

2>3>1

2>1>3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  class operators  {

 public static void main(String args[])

        {             int var1 = 5;

              int var2 = 6;

              int var3;

 var3 = ++ var2 * var1 / var2 + var2;

          System.out.print(var3);

       }

}

10

11

12

56

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?