Leave a Reply 4

Your email address will not be published. Required fields are marked *


pojo

pojo

===> if you print an uninitialized char variable , you’ll get nothing.
char c;
boolean b;
float f;
void printAll() {
System.out.println(“c = ” + c);
System.out.println(“c = ” + b);
System.out.println(“c = ” + f);
}

public static void main(String[] args) {DoClass f = new DoClass();
f.printAll();

}

obrain

obrain

no, you have to try make some math task on this variables