I got errors in this program to find the default values of all data types in Java.
import java.lang.*;
class Datatypesvalues
{
public static void main(String var[])
{
int i;
long l;
float f;
double d;
char ch;
boolean bool;
System.out.println(+ by);
System.out.println(+ sh);
System.out.println(+ i);
System.out.println(+ l);
System.out.println(+ f);
System.out.println(+ d);
System.out.println(+ ch);
System.out.println(bool);
}
}