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
10 questions
L06 Creating Tables

Quiz
•
University
13 questions
Intro to DM

Quiz
•
University
9 questions
Week 2 IT and Business processes

Quiz
•
University
10 questions
bt 3 2023

Quiz
•
University
11 questions
BUS1203 - T7 (1): Developing and Marketing Products & Services

Quiz
•
University
10 questions
diff set(4) 2023

Quiz
•
University
10 questions
BT_M2_2023

Quiz
•
University
10 questions
diff 1 set

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade