• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wrong String method signatures in chapter 3 (Java OCA 8 Programmer I Study Guide, Sybex)

 
Andrew Polansky
Ranch Hand
Posts: 310
18
Linux MS IE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chapter 3, section "Creating and Manipulating Strings".

There are several wrong method signatures presented in that section.


int indexOf(char ch, index fromIndex)

int indexOf(String str, index fromIndex)

int substring(int beginIndex)

int substring(int beginIndex, int endIndex)

String toLowerCase(String str)

String toUpperCase(String str)


(This post originated in the K&B7 errata thread)
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adam Scheller wrote:There are several wrong method signatures presented in that section.

You are correct! But all these incorrect method signatures are already reported and added to the official errata overview of this study guide.

Hope it helps!
Kind regards,
Roel
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic