java long literal
to declare a Long literal in java, add 'L' to the end of
an integer literal
examples:
12312345514316L
59741316635446100055330L
465414966143L
java long literal
to declare a Long literal in java, add 'L' to the end of
an integer literal
examples:
12312345514316L
59741316635446100055330L
465414966143L
java long literal
public class Test {
public static void main(String[] args)
{
float a = 101.230; // decimal-form literal
float b = 0123.222; // It also acts as decimal literal
float c = 0x123.222; // Hexa-decimal form
System.out.println(a);
System.out.println(b);
System.out.println(c);
}
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us