+ 2
WAP IN JAVA define character and intezer??
5 odpowiedzi
+ 11
char for character
int for integer
//primary data type
+ 4
please Explain more..
+ 2
what!
+ 1
first of all you have to understand data types
A/q to your question
char defines the character
int defines the integer😄😄
0
char section=‘a’; /*creates a character variable named section which is assigned a value of ‘a’*/
int money =25; // creates an integer variable named money which is assigned a value of 25