OOPs Fundamentals
Quiz
•
Computers
•
University
•
Hard
Rajeswari AM
Used 6+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Pengenalan Robotika, Sensor dan Aktuator
Quiz
•
10th Grade - University
20 questions
Kuiz Autocad
Quiz
•
1st Grade - University
20 questions
Python SaNook
Quiz
•
University
20 questions
Social Issues and Professional Practices Midterm Exam
Quiz
•
University
20 questions
UAS SISTEM KOMPUTER
Quiz
•
University
20 questions
Infrastructure (Network)
Quiz
•
University
20 questions
Chapter 1: Testing Fundamentals
Quiz
•
University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
7 questions
Central Idea of Informational Text
Interactive video
•
4th Grade - University
7 questions
Review for You: Using Commas
Interactive video
•
4th Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
Safari Scholar: Searching for Subject-Verb Agreement
Interactive video
•
4th Grade - University
