UNIT1

UNIT1

University

20 Qs

quiz-placeholder

Similar activities

VENOM

VENOM

University

16 Qs

C Programming Lab Quiz 1

C Programming Lab Quiz 1

University

24 Qs

Gen-Z's Trailblazers -2k25 1

Gen-Z's Trailblazers -2k25 1

University

25 Qs

Embedded Systems Quiz

Embedded Systems Quiz

University

24 Qs

Human Factors in Medical Devices

Human Factors in Medical Devices

University

18 Qs

COMPILER DESIGN UNIT-1 QUIZ

COMPILER DESIGN UNIT-1 QUIZ

University

20 Qs

Medical Device Development Quiz

Medical Device Development Quiz

University

20 Qs

Verilog HDL -module 1 Quiz

Verilog HDL -module 1 Quiz

University

18 Qs

UNIT1

UNIT1

Assessment

Quiz

Engineering

University

Medium

Created by

VIJAYALAKSHMI A

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a feature of OOP?

Encapsulation

Inheritance

Compilation

Polymorphism

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java supports multiple inheritance using:

class

abstract class

interface

object

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Keyword to inherit class

this

extends

super

implements

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 2;

x *= 3 + 4;

System.out.println(x);

14

10

6

Compilation error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

System.out.println(10 + 20 + "Java" + 10 + 20);

30Java1020

Java102030

Java30

Compilation error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly creates an object in Java?

MyClass obj = MyClass();

obj = new MyClass;

MyClass obj = new MyClass();

class MyClass = new Object();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about abstract classes?

They can be instantiated

They can't have any method body

They can have both abstract and non-abstract methods

They are always final

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?