• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

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

 
Ranch Hand
Posts: 207
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: 207
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: 207
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: 38687
677
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agreed on both and logged. Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!