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
Java Objects - Real world Scenarios - Practice Quiz

Quiz
•
University
20 questions
Geeks for Geeks PCCOER Info Session CP Quiz

Quiz
•
University
20 questions
TALENT-NEXT-JAVA-QUIZ1

Quiz
•
University
30 questions
Computer Programming 2

Quiz
•
University
28 questions
OOPS Live Quiz

Quiz
•
University
20 questions
JAVA Basics Quiz

Quiz
•
University
20 questions
Quiz 2 PBO

Quiz
•
University
20 questions
Quiz PBO SIA

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University