Declare an integer in Java without using 'int' -
i don't know utilize , please help me ? illustration cant utilize
short hour; long totalnumberofstars; //no can't utilize long or short
your question isn't clear,
long = (long) 1; short s = (short) 2; byte b = (byte) 3; integer = 4; int v = 5; char ch = 'a' + 1; // <-- or, 'b'
are integer (or integral) types. compared floating point types,
double d = 1.0; float f = 2.0f;
java integer
No comments:
Post a Comment