Search Header Logo

Java Fundamentals

Authored by prathibha priyadarshini

Education

12th Grade

Used 24+ times

Java Fundamentals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Command Line Arguments are passed to ----

Variable

String

String[ ] args

class

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

int x=4;

int y=6;

int res=(x>y)?x:y;

find the value of res?

4

6

1

0

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

int a;

byte b=45;   

a=b;

the type conversion is...........

manual

explicit

error

implicit

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An integer array of 10 cells is declared as.................

int a[ ]

int[ ]=a

a=new int[10]

int[5][5] a =new int[10]

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The size of float data type in bits is______

4

32

2

16

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify the unary operator among the following.............

a++;

a=b+c;

a=b>c;

a=(b==c)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

x=10;

y=15;

d=(--x)+(--y);

25

23

24

26

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?