WAP IN JAVA define character and intezer?? | Sololearn: Learn to code for FREE!

+2

WAP IN JAVA define character and intezer??

3/17/2018 8:55:20 AM

SHIVAM CHAURASIYA

5 Answers

New Answer

+11

char for character int for integer //primary data type

+4

please Explain more..

+2

+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