aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes why does it do not  show an compile time erroe at line 3? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "why does it do not  show an compile time erroe at line 3?" Watch "why does it do not  show an compile time erroe at line 3?" New topic
Author

why does it do not show an compile time erroe at line 3?

chirthal prasad
Greenhorn

Joined: Aug 17, 2006
Posts: 2
class XT {

public static void main ( String ka [ ] ) { // ---> line 1
byte b = 10 , // ---> line 2
c = 10 , // ---> line 3
x = (byte) ( b + c ) ; // ---> line 4
System . out . println ( x ); // ---> line 5
}
};
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
You defined multi-variables and seperated them by ",".
[ October 05, 2006: Message edited by: wise owen ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why does it do not show an compile time erroe at line 3?