Java quiz-2024-Sec-B

Java quiz-2024-Sec-B

University

12 Qs

quiz-placeholder

Similar activities

BINARY BRAINS

BINARY BRAINS

University

10 Qs

Bulme C# Einführung

Bulme C# Einführung

1st Grade - University

8 Qs

BCSC0006 - Quiz 1 - Arrays

BCSC0006 - Quiz 1 - Arrays

University

10 Qs

Exploring Addressing Modes

Exploring Addressing Modes

University

10 Qs

Week 9  C# (for Java programmers)

Week 9 C# (for Java programmers)

University

10 Qs

CS 2nd Semester Mid-Term

CS 2nd Semester Mid-Term

10th Grade - University

15 Qs

Unit 5: call by value

Unit 5: call by value

University

7 Qs

U0. Dynamic Data Structures

U0. Dynamic Data Structures

University

12 Qs

Java quiz-2024-Sec-B

Java quiz-2024-Sec-B

Assessment

Quiz

Computers

University

Medium

Created by

Shubha V

Used 5+ times

FREE Resource

12 questions

Show all answers

1.

OPEN ENDED QUESTION

1 min • Ungraded

USN

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

1 min • Ungraded

NAME

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the code give below:

  class yes

{

public static void main(String[] args)

{

int Integer = 24;

char String  = 'I';

System.out.print(Integer);

System.out.print(String);

}}

24I

24

Compiler error

Runtime Error

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a Java feature?

Object-oriented

Use of pointers

Portable

Dynamic and Extensible

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Java Implements Runtime Polymorphism through

method overloading

method overriding

Dynamic method Dispatch

none of the above

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt


is used to resolve name space collisions

super

object

This

all of the above

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output of the following code

public void method(double a)

{

System.out.println("Method called");

}

public static void main()

{ method(2);

}

Method called

compilation error

runtime error

none of the above

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?