hi Rajesh
What does 7 + 8 + " " evaluates. To me it is 78, but I see some questions at the ned of Chapter 3 of Kathy & Bates book giving answer like 15. Do not have book in front of me but that is what I read ... what is the right answer? It depends on different situation
If the case is string such as
String cardinality="7"+"5";
and
System.out.println("cardinality"+7+5);
//Above is 75
Differ to the case
//Following is 12
System.out.println("sample operation"+(7+5));
and
int adding=7+5;
Are you sure the book in the first case?