Which keyword is used for inheritance in Java?
CODE ZENITH

Quiz
•
Computers
•
University
•
Hard
NITHIKA KANNAN
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a) super
b) extends
c) implements
d) inheritance
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of the int data type in Java?
a) 4 bytes
b) 8 bytes
c) 2 bytes
d) Depends on the system architecture
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure in C is based on the Last In First Out (LIFO) principle?
a) Queue
b) Stack
c) Linked List
d) Tree
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of an integer variable in Java?
a) 0
b) 0.0
c) null
d) Depends on the compiler
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C language, which of the following is used to allocate memory dynamically?
a) malloc()
b) calloc()
c) realloc()
d) All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for a multi-line comment in C?
a) /* comment */
b) // comment
c) # comment
d) ' comment '
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Java code snippet?
int x = 5;
System.out.println(x++ + ++x);
a) 11
b) 12
c) 13
d) 14
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
C Programming Quiz-1

Quiz
•
University
10 questions
Python - Functions

Quiz
•
University
20 questions
JAVA Basics Quiz

Quiz
•
University
15 questions
Python introduction

Quiz
•
University
19 questions
Data Types Java Concepts

Quiz
•
University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
10 questions
IT Quiz Round 3

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

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade