OOPs Fundamentals

Quiz
•
Computers
•
University
•
Hard
Rajeswari AM
Used 6+ times
FREE Resource
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?
class increment
{
public static void main(String args[])
{
int g = 3;
System.out.print(++g * 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
Similar Resources on Wayground
20 questions
Web Development and Programming

Quiz
•
University
20 questions
Quiz Pemrograman Lanjut 2022/2023

Quiz
•
University
23 questions
Java Array

Quiz
•
University
20 questions
JDBC

Quiz
•
University
20 questions
Multithreading in java

Quiz
•
University
20 questions
OOP

Quiz
•
University
20 questions
Java Coding Questions

Quiz
•
University
20 questions
Code Junction 4

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University