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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!