Write a java programme to display the use of basic data types
Answers
Answered by
5
=>Here is ur Program<=
Public class DemoVar
{
public static void main(string args[])
{
int a = 10;
float = 2.4f;
char c = 'A';
System.out.printIn("Value of integer is: " +
a);
System.out.printIn("Value of Float variable: is:"+b);
System.out.printaIn("Value of Character variable is: "+b);
}
}
|HopE__It__HelpS| :-|
godie:
i think there is problem in giving spaces ok fine i will mange it thanks
Answered by
2
Answer:
>Here is ur Program<=
Public class DemoVar
{
public static void main(string args[])
{
int a = 10;
float = 2.4f;
char c = 'A';
System.out.printIn("Value of integer is: " +
a);
System.out.printIn("Value of Float variable: is:"+b);
System.out.printaIn("Value of Character variable is: "+b);
}
}
|HopE__It__HelpS| :-|
Similar questions
English,
8 months ago
Math,
8 months ago
Science,
8 months ago
English,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago