Hi this below code is compiling successfully but when I try to run I am getting the exception in
thread main while running the program.
Please help me anyone thanks in advance..
class Octal
{
public static void main(
String [] args)
{
int six = 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("six= " +six);
System.out.println("seven = " + seven);
System.out.println("eight = " + eight);
System.out.println("nine = " + nine);
}
}
Exception in thread "main" java.lang.UnsupportedClassVersionError: Octal (Unsupp
orted major.minor version 49.0)
Please help me anyone as early as possible thank you.