Question & answer

Home > Question & answer
Q.1 Compare character and string
boy
Sam
09 Nov,2017

Compare char is a primitive, you can compare it using the == operator. In a former code you were comparing a string using ==.

boy
Sandeep Bhati
20 Dec,2017