Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Ranch Hand
Posts: 204
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]
 
Ranch Hand
Posts: 115
11
Eclipse IDE Hibernate 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).
 
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".
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!