Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Programming with Java operators and strings-OCAJP7 guide

 
charlsy chuks
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow,
Some excellent work was done here-and I am not saying it so I can get the book though I wouldn't mind if I did -but the coverage of this vital area is very professional.
In fact I fell in love with at first sight because it reminded me of my K&B 6! I do not know if any good book in any programming language can be written in a style different from theirs.

The language is so simple, a fresher registering for CSC 101 can grab the information Ok maybe i am exaggerating but in many ways its true. Thank you for the book.

However, I will like to know if prior to Java 7, string comparison was possible- as in equality, greater than, less than etc. or if it came with the enhanced switch operator which can take strings.

Is there a simpler way to memorize this hierarchy of operators/precedence thingy-it could be very tricky at times. Anyone to the rescue ?
 
Robert James Liguori
Author
Ranch Hand
Posts: 551
5
Java Netbeans IDE Oracle
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
charlsy chuks wrote:Wow,
Some excellent work was done here-and I am not saying it so I can get the book though I wouldn't mind if I did -but the coverage of this vital area is very professional.
In fact I fell in love with at first sight because it reminded me of my K&B 6! I do not know if any good book in any programming language can be written in a style different from theirs.

The language is so simple, a fresher registering for CSC 101 can grab the information Ok maybe i am exaggerating but in many ways its true. Thank you for the book.

However, I will like to know if prior to Java 7, string comparison was possible- as in equality, greater than, less than etc. or if it came with the enhanced switch operator which can take strings.

Is there a simpler way to memorize this hierarchy of operators/precedence thingy-it could be very tricky at times. Anyone to the rescue ?


"In fact I fell in love with at first sight because it reminded me of my K&B 6! I do not know if any good book in any programming language can be written in a style different from theirs."
The McGraw-Hill study guide books have a particular design 'pedagogy' that all authors must follow... so if you examine the other books in the series, you'll notice the same look and feel as well.

"Is there a simpler way to memorize this hierarchy of operators/precedence thingy-it could be very tricky at times. "
I'll put some thought into this... it is a challenge (knowing all of the precedences), even once familiar with the subject. The best way, is probably in understanding *why* the precedence was implemented as it is.

-- Robert


 
charlsy chuks
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply Robert,

I should have noticed. I have not done much reading from Mc graw hill Series though. I had a question about string processing in Java.


However, I will like to know if prior to Java 7, string comparison was possible- as in equality, greater than, less than etc. or if it came with the enhanced switch operator which can take strings.


Could you help out with that?
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic