I think its not. You can use Scanner class to get data from Keyboard. I have seen many apps where in Scanner is used.
Type: Posts; User: jassi
I think its not. You can use Scanner class to get data from Keyboard. I have seen many apps where in Scanner is used.
I debugged your program and found following errors.
1.You have used semicolon in if second if statement
if(ans =='B' || ans =='b');
Remove this semicolon and write statement as
if(ans =='B' ||...
Hi, Please tell what is Keyboard here. I am unable to resolve it. Is it some other class or an object