Thanks in advance
// program
Code:
class No_System_Demo
{
public static void main(String[] n)
{
double d=020; // octal no 20 stored
System.out.println("d=" +d); // output will be in decimal number system and is 16.0 and thats fine
double d1=020.0; // octal no's can have
Leave a comment: