Java quiz-2024-Sec-B

Java quiz-2024-Sec-B

University

12 Qs

quiz-placeholder

Similar activities

Diseño de Videojuegos y Unity 2021

Diseño de Videojuegos y Unity 2021

University

16 Qs

Data mining-Clustering-1

Data mining-Clustering-1

University

7 Qs

Quiz3_DivideConquer_GreedyApproach

Quiz3_DivideConquer_GreedyApproach

University

10 Qs

Computer and Other Human Inventions

Computer and Other Human Inventions

University

15 Qs

2022-2023 Midterm Quiz PLD

2022-2023 Midterm Quiz PLD

University

10 Qs

EDA PARTE 2

EDA PARTE 2

University

15 Qs

C Wrapup Quiz Deutsch

C Wrapup Quiz Deutsch

University

12 Qs

examen1 Lab. Prog. Visual

examen1 Lab. Prog. Visual

University

10 Qs

Java quiz-2024-Sec-B

Java quiz-2024-Sec-B

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Shubha V

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?