diff set 2 2023

Quiz
•
Business
•
University
•
Hard
Smiley Sunshine
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By default, all the files in C++ are opened in _________ mode.
Binary
VTC
Text
ISCII
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following program?
interface Foo{ int x = 10;}
public class Test {
public static void main(String[] args) {
Foo.x = 20;
System.out.println(Foo.x);
}
}
Prints 10
Prints 20
Compile Time Error
Runtime error because Foo.x is final.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements are true for inheritance in Java?
The “extend” keyword is used to extend a class in java.
You can extend multiple classes in java.
Private members of the superclass are accessible to the subclass
We can’t extend Final classes in java.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The major goal of inheritance in C++ is
To facilitate the re usability of code
To extend the capabilities of a class
To facilitate the conversion of data types
To help modular programming
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Multi-level inheritance represents ____ relationship.
Parent-Child-Grandchild
Parent-Child-Parent
Parent-Child
Parent-Parent
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
predict the logo
Burton
Tissot
Candillac
Dr Pepper
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the logo
Peter England
Tissot
Dr Pepper
fastrack
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Midterm Exam International Management - Test 1

Quiz
•
University
10 questions
UBM588 - Quiz Chapter 7 (A) KBA2433C

Quiz
•
University
15 questions
Business Transactions Cycle

Quiz
•
University
15 questions
FIN 421 - Monetary Policy

Quiz
•
University
10 questions
BAFI3200 W10 Foreign Exchange Risk Exposure and Management P2

Quiz
•
University
12 questions
351 - Module 3 (Globalization)

Quiz
•
University
10 questions
International Entry

Quiz
•
University
10 questions
Great Ideas

Quiz
•
University - Professi...
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