100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Absolute Java 6th Edition - Solutions Manual by Walter Savitch & Kenrick Mock

Rating
-
Sold
-
Pages
224
Grade
A+
Uploaded on
03-07-2025
Written in
2024/2025

This detailed solutions manual for Absolute Java, 6th Edition by Walter Savitch provides full, annotated solutions to all end-of-chapter exercises and programming challenges. It follows the structure of the textbook, covering Java fundamentals such as variables, control flow, methods, arrays, and strings, as well as advanced topics like classes and objects, inheritance, polymorphism, exception handling, recursion, file I/O, generics, and basic GUI development. Each solution is written in clean, well-documented Java code and includes explanations to clarify logic and reinforce object-oriented design principles. Perfect for students seeking support with assignments or exam prep, and for instructors needing reliable reference answers.

Show more Read less
Institution
Absolute Java 6th Edition
Course
Absolute Java 6th Edition











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Absolute Java 6th Edition
Course
Absolute Java 6th Edition

Document information

Uploaded on
July 3, 2025
Number of pages
224
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

Chapter 1 Getting Started 1
ST

Chapter 1
Getting Started
U
VI
◼ Multiple Choice
1) Java is an object-oriented programming language. An object-oriented language
(a) Uses structured programming.
A
(b) Views a program as consisting of objects which communicate through interactions.
(c) Functionally breaks down problems into smaller, more manageable problems.
(d) All of the above.
_A
Answer: B

2) In Java, the equal sign is used as the ___________ operator.
(a) increment
PP
(b) decrement
(c) assignment
(d) negation
Answer: C
RO
3) In Java, source code is compiled into object code called ______________.
(a) Bit-code
(b) Class code
(c) Method code
(d) Byte-code
VE
Answer: D

4) The hardest kind of error to detect in a computer program is a:
(a) Syntax error
(b) Run-time error
D
(c) Logic error
(d) All of the above
Answer: C
?

Copyright © 2016 Pearson Education, Inc., Hoboken NJ

, Chapter 1 Getting Started 2


5) Identify the invalid Java identifier.
(a) 1Week
(b) Week1
(c) amountDue
ST
(d) amount_due
Answer: A

6) What is the value of the variable amountDue?
U
double price = 2.50;

double quantity = 5;
VI
double amountDue = 0;

amountDue = price * quantity;
A
(a) 12
(b) 12.25
_A
(c) 12.5
(d) 13
Answer: C
PP
7) What is the value of 7.52e-5?
(a) 752000.0
(b) 0.0000752
(c) 0.000752
(d) 0.00752
RO
Answer: B

8) What is the Java expression for 4a 2 + 2b * c?
(a) (4 * a) + (2 * b) * c
(b) (4 * a * a) + ((2 * b) * c)
VE
(c) ((4 * a * a) + (2 * b)) * c
(d) (4 + a * a) + ((2 + b) * c)
Answer: B

9) What is the Java expression for 27xy?
(a) 27 + (x * y)
D
(b) 27 * (x + y)
(c) 27 * x * y
?
(d) 27x * y
Answer: C
Copyright © 2016 Pearson Education, Inc., Hoboken NJ

, Chapter 1 Getting Started 3


10) The value of the expression (int) 27.6 evaluates to:
(a) 28
(b) 27
(c) 26
ST
(d) None of the above.
Answer: B

11) Which operator is used to concatenate two strings?
U
(a) +
(b) –
(c) *
VI
(d) /
Answer: A

12) Which operator returns the remainder of integer division?
A
(a) %
(b) /
(c) *
_A
(d) none of the above
Answer: A

13) What is the value of the variable c in the statements that follow?
PP
String phrase = "Make hay while the sun is shining.";

char c = phrase.charAt(10);
(a) w
(b) h
RO
(c) i
(d) None of the above
Answer: B

14) The escape sequence the represents the new-line character is:
VE
(a) \r
(b) \t
(c) \n
(d) \\
Answer: C
D
?

Copyright © 2016 Pearson Education, Inc., Hoboken NJ

, Chapter 1 Getting Started 4


15) The syntax that declares a Java named constant named SALES_TAX is:
(a) double SALES_TAX = 7.50;
(b) public double SALES_TAX = 7.50;
(c) public static double SALES_TAX = 7.50;
ST
(d) public static final double SALES_TAX = 7.50;
Answer: D

16) In Java, a block comment is delimited by:
U
(a) */ /*
(b) /* /*
(c) /* */
VI
(d) */ */
Answer: C

17) To mark a block comment for inclusion in the Javadoc documentation, the block must be delimited
A
by:
(a) /** */
(b) */* */
_A
(c) **/ /*
(d) **/ */
Answer: A
PP
◼ True/False
1) Java began as a language for home appliances.
Answer: True
RO
2) Applets were designed to run as stand-alone applications.
Answer: False

3) The Java programming language allows you to concatenate two strings using the plus sign.
VE
Answer: True

4) Java is an interpreted language.
Answer: True

5) Java does not require that a variable be declared before it is used within a program.
D
Answer: False
?
6) A variable of type boolean can be explicitly converted to that of type int.
Answer: False
Copyright © 2016 Pearson Education, Inc., Hoboken NJ

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
successhands Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
170
Member since
1 year
Number of followers
18
Documents
822
Last sold
1 hour ago
Successhands – Verified Solutions, Test Banks & Guides for Medical, Nursing, Business, Engineering, Accounting, Chemistry, Biology & Other Subjects

Welcome to Your Ultimate Study Resource Hub! Looking for high-quality, reliable, and exam-ready study materials? You’re in the right place. Our shop specializes in original publisher content, including solutions manuals, test banks, and comprehensive study guides that are ideal for university and college students across various subjects. Every document is in PDF format and available for instant download—no waiting, no hassle. That means you get immediate access to top-tier academic resources the moment you need them, whether you're cramming for an exam or studying ahead. These materials are especially effective for exam preparation, offering step-by-step solutions, real test formats, and well-organized study guides that align with your coursework and textbooks. Whether you're a visual learner, a problem-solver, or need practice questions—there’s something for every study style. Love what you get? Share it! Help your mates and classmates succeed too by referring them to our shop. More learners, more success for all.

Read more Read less
4.4

13 reviews

5
9
4
1
3
2
2
1
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions