All 2 results
Sort by
-
QuestionBank_Ch02-10 Java How to Program, 11/e Multiple Choice Test Bank. Chapter 2 Introduction to Java Applications
- Exam (elaborations) • 66 pages • 2022
-
- $15.49
- 1x sold
- + learn more
Section 2.2 Your First Program in Java: Printing a Line of Text 
2.2 Q1: End-of-line comments that should be ignored by the compiler are denoted using 
a. Two forward slashes (//). 
b. Three forward slashes (///). 
c. A slash and a star (/*). 
d. A slash and two stars (/**). 
ANS: a. Two forward slashes (//). 
2.2 Q2: Which of the following is not a valid Java identifier? 
a. my Value 
b. $_AAA1 
c. width 
d. m_x 
ANS: a. my Value (Identifiers may not contain blanks). 
2.2 Q3: Which of the follo...
-
JAVA_Viva_Questions And Answers 2022
- Exam (elaborations) • 6 pages • 2022
-
- $8.99
- + learn more
1. Which is true? 
A. "X extends Y" is correct if and only if X is a class and Y is an interface 
B. "X extends Y" is correct if and only if X is an interface and Y is a class 
C. "X extends Y" is correct if X and Y are either both classes or both interfaces 
D. "X extends Y" is correct for all combinations of X and Y being classes and/or interfaces 
2. Which of the following is true? 
1 A class can extend more than one class. 
2. A class can extend only one class but many interfaces. 
3...
Do you wonder why so many students wear nice clothes, have money to spare and enjoy tons of free time? Well, they sell on Stuvia! Imagine your study notes being downloaded a dozen times for $15 each. Every. Single. Day. Discover all about earning on Stuvia