Didn’t get space between two words.
Title
Question
i write code same as given in video. but at the end my output is "WelcomeKrishna" instead of "Welcome Krishna" . there is no space between two words . and same happen with "Gender:Male" instead of "Gender : Male"
Android-app-using-Kotlin Adding-Radio-Buttons 07-08 min 40-50 sec
Answers:
Please note the space within the double quotes after"welcome "text. It is shown in the video at 7:11.
Likewise at 7:34 the gender is typed as "Gender : ". A space is given between the Gender and semicolon.
These are all string data types. Whatever you type between double quotes, the entire text is considered as string including spaces.
Login to add comment