OOPs Fundamentals

OOPs Fundamentals

University

25 Qs

quiz-placeholder

Similar activities

3D Objects - Terms & Transfomations

3D Objects - Terms & Transfomations

6th Grade - Professional Development

20 Qs

4-2 final QUIZ in ELEC4

4-2 final QUIZ in ELEC4

University

20 Qs

Digital and Analog transmission

Digital and Analog transmission

University

20 Qs

ICT Unit-2

ICT Unit-2

University

20 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

Input/Output

Input/Output

University

20 Qs

Algoritma Pemrograman

Algoritma Pemrograman

University

20 Qs

OOPs Fundamentals

OOPs Fundamentals

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Rajeswari AM

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is true about Java?

Java is a sequence-dependent programming language

Java is a code dependent programming language

Java is a platform-dependent programming language

Java is a platform-independent programming language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is not a Java feature?

Object-oriented

Use of pointers

Portable

Dynamic and Extensible

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a feature of Java's memory management?

Automatic garbage collection

Manual memory allocation

Static memory allocation

Memory leaks are not possible

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of the Java Virtual Machine (JVM)?

To manage database connections

To provide a graphical user interface

To execute Java bytecode

To compile Java code into bytecode

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following keywords is used to create a class in Java?

define

class

new

object

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Java code?

  1. class increment

  2. {

  3. public static void main(String args[])

  4. {

  5. int g = 3;

  6. System.out.print(++g * 8);

  7. }

  8. }

32

45

33

22

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to declare an array in Java?

int[] arr;

int arr{};

array int arr;

int arr[];

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?