float ff = 1.2f;
Float fo = new Float(1.2f);
double fg = 3.2d;
Double fh = new Double(2.1d);
Can I use '=' between the (1) and (3) or between the (2) and (4)??
Yes.
Responding to the edit questions:
You will see
ff = fg
.fo = fh
.fg = ff
will work fine (the float fits in a double).fh = fo
will still give you an "incompatible types".