Question
solve for true or false 1. C++ allows for procedural and OOP programming? a) True b) False 2. C++ allows multiple inheritance. a) True b)
solve for true or false
1. C++ allows for procedural and OOP programming?
a) True b) False
2. C++ allows multiple inheritance.
a) True b) False
3. Java has generics.
a) True b) False
4. Ruby is object oriented.
a) True b) False
5. C# has a foreach statement.
a) True b) False
6. Java does not have true multiple inheritance like C++.
a) True b) False
7. A wrapper is an object class that corresponds to a primitive data type like int
. a) True b) False
8. An abstract class cannot be instantiated.
a) True b) False
9. The break statement can only be used within a loop.
a) True b) False
10. If a class is defined to be final, it cannot be instantiated.
a) True b) False
11. JAVA represents exceptions, but not errors, as objects.
a) True b) False
outputting a program with more than one Java thread requires a computer with multiple processors.
a) True b) False
13. in Scheme, a predicate always returns either #t or #f.
a) True b) False
14. A variable in Prolog must start with either an upper-case letter or an underscore (_)
a) True b) False
15. The Scheme interpreter optimizes tail-recursion as iteration .a) True b) False
16. Lazy evaluation is a technique that can make it easy to avoid unnecessary computation.
a) True b) False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started