Java quiz-2024-Sec-B

Java quiz-2024-Sec-B

University

12 Qs

quiz-placeholder

Similar activities

Clustering_Pertemuan2_Quiz_Ceria

Clustering_Pertemuan2_Quiz_Ceria

University

10 Qs

Edmodo Review

Edmodo Review

University

10 Qs

Python List

Python List

4th Grade - University

15 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

Programming in C

Programming in C

University

10 Qs

Data Security Worksheet

Data Security Worksheet

10th Grade - University

15 Qs

LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

9th Grade - University

14 Qs

ENGINEERING DATA ANALYSIS PRELIM

ENGINEERING DATA ANALYSIS PRELIM

University

15 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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?