class Octal {
public static void main(
String [] args) {
int five = 06; // Equal to decimal 6
int seven = 07; // Equal to decimal 7
int eight = 010; // Equal to decimal 8
int nine = 011; // Equal to decimal 9
System.out.println("Octal 010 = " + eight);
}
}
hi all,
with respective to the above program how come int five = 06,int seven=07...
and also whts the output for the above program?
can anybody provide the explanation for the above?
thanks,
venkat