• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sybex Flash Card Set#2 #21 Errata?  RSS feed

 
Charles O'Leary
Ranch Hand
Posts: 185
4
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Should be declared instead of created?
Sybex_FlashCardSet2Num21_How_many_arrays_Typo_Question.png
[Thumbnail for Sybex_FlashCardSet2Num21_How_many_arrays_Typo_Question.png]
 
João Victor Gomes
Ranch Hand
Posts: 113
11
Eclipse IDE Java Netbeans IDE Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with you. The example is just declaring reference variables that may reference array objects of int values (b can reference a one-dimensional array and c can reference a multi-dimensional array).
 
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
Agreed!

If it's "created", the correct answer would have been "None".
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!