• Post Reply Bookmark Topic Watch Topic
  • New Topic

Some minor typos in "Answers to Assessment Test" (Java OCA 8 Programmer I Study Guide, Sybex)  RSS feed

 
Ranch Hand
Posts: 205
27
Java jQuery Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Question #1, the third sentence:

a_b defaults to a null value.


Maybe a_b should be $ and null should be 0.

2. Question #10, the third sentence:

Reference one points to g1 and reference two is null.


g1 should be g2.
 
Sheriff
Posts: 11338
177
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mushfiq Mammadov wrote:1. Question #1, the third sentence:
Maybe a_b should be $ and null should be 0.


Not maybe but definitely Should be: a_b defaults to a 0 value.

Mushfiq Mammadov wrote:2. Question #10, the third sentence:
g1 should be g2.


Spot-on! Should be: Reference one points to g2 and reference two is null.
 
Mushfiq Mammadov
Ranch Hand
Posts: 205
27
Java jQuery Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Roel De Nijs wrote:

Mushfiq Mammadov wrote:1. Question #1, the third sentence:
Maybe a_b should be $ and null should be 0.


Not maybe but definitely Should be: a_b defaults to a 0 value.


a_b or $ ?
 
Roel De Nijs
Sheriff
Posts: 11338
177
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mushfiq Mammadov wrote:

Roel De Nijs wrote:

Mushfiq Mammadov wrote:1. Question #1, the third sentence:
Maybe a_b should be $ and null should be 0.


Not maybe but definitely Should be: a_b defaults to a 0 value.


a_b or $ ?


$ of course! Stupid me!

So 2nd attempt Should be: $ defaults to a 0 value.
 
Mushfiq Mammadov
Ranch Hand
Posts: 205
27
Java jQuery Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Roel De Nijs wrote: So 2nd attempt Should be: $ defaults to a 0 value.


 
author & internet detective
Marshal
Posts: 38170
618
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agreed on both and logged. Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!