JAVA
non-static members which are declared outside of the main which cannot be accessed inside the main function to do that outside members must be declared as static
for char i;
print(i)--->print nothing
in java math.round will round out the float value as
1.2--->2
2.7--->3
for char i;
print(i)--->print nothing
in java math.round will round out the float value as
1.2--->2
2.7--->3
- toString() method used for to convert Wrapper object to String
Nice information
ReplyDelete