aspose file tools*
The moose likes Associate Certification (OCAJP 7/8) and the fly likes Programming with Java operators and strings-OCAJP7 guide Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Associate Certification (OCAJP 7/8)
Bookmark "Programming with Java operators and strings-OCAJP7 guide" Watch "Programming with Java operators and strings-OCAJP7 guide" New topic
Author

Programming with Java operators and strings-OCAJP7 guide

charlsy chuks
Ranch Hand

Joined: May 18, 2012
Posts: 79
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

Joined: Nov 27, 2007
Posts: 531
    
    5

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



My Blog (I frequently post on Java, JSF and NetBeans)
charlsy chuks
Ranch Hand

Joined: May 18, 2012
Posts: 79
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.
 
 
subject: Programming with Java operators and strings-OCAJP7 guide