I'll be posting here all the little questions i'll have just not to open a new thread every time.
1. Neither Eclipse nor Netbeans don't compile the addition of one in this way.
public class MainClass {
public static void main(String[] args) {
int intValue = 10;
int newValue = intValue ++;
System.out.println(newValue);
}
}
The result is still 10.
2. I know that if i declare a primitive without assinging a number to it, it will have automatically assigned 0. in my case it doesn't work.
public class MainClass {
public static void main(String[] args) {
double intValue;
System.out.println(intValue);
}
}