Good morning. I work with NetBeans and Java 8. I have a little problem with regard to java variables, more specifically when it comes to changing type. For example, when I define an int and I want to change it to double , it does not work even if using,
int a = 3;
double b = (double) a;
Also, I tested the code in the SoloLearn interpreter and it worked, which makes me wonder. Is one of the two interpreters obsolete?