WAP IN JAVA define character and intezer?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

WAP IN JAVA define character and intezer??

17th Mar 2018, 8:55 AM
SHIVAM CHAURASIYA
SHIVAM CHAURASIYA - avatar
5 Answers
+ 11
char for character int for integer //primary data type
17th Mar 2018, 11:58 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 4
please Explain more..
17th Mar 2018, 9:25 AM
Baraa AB
Baraa AB - avatar
+ 2
what!
17th Mar 2018, 9:19 AM
Farshaad Heydari
Farshaad Heydari - avatar
+ 1
first of all you have to understand data types A/q to your question char defines the character int defines the integer😄😄
17th Mar 2018, 12:27 PM
Ujjwal Kumar
Ujjwal Kumar - avatar
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
20th Mar 2018, 9:14 AM
Nipun Shakya
Nipun Shakya - avatar