+ 1
What datatype is (23xyz)?
Can we have alpha numeric datatype in java?
4 Respostas
+ 2
No, number can also represent as character for example 0 is 48 in ascii
So its still valid as string
String s="124xyz";
+ 1
You can use String
+ 1
But strings only have alphabetical values?
+ 1
Thanks for the information 😊