You can try this example once. It will definitely work.
Program - Concept of Declaration of variables
class Variable_Concepts
{
public static void Main ()
{
char ch = ''A''; // Declaring a Character variable with value = ''A''
byte a = 50; // Declaring a byte variable with value = 50
int b = 123456789; // Declaring an Integer variable with value = 123456789
long c = 1234567654321; // Declaring a Long type variable with value = 1234567654321
bool d = true; // Declaring a Boolean type variable with TRUE value
float e = 0.000000345F; // Declaring a float type variable with value = 0.000000345.
The value ends with a ''F'' resembeling a float data type
Float f = 1.23e5F; // Declaring a float type exponential variable with value = 1.23E5 = 123000. The value contains the character ''e'' resembeling an exponential value.Also, the value ends with a ''F'' resembeling a float data type.
}
}