im writing an exercise code, where i need to deal with a character sequence using a char[] array,
i need to tell the computer to check for a default value of an index of that char[] array
given that , 0 is default of integers, 0.0 for doubles, "" empty string with Strings, how about character?
if (value in the index of this char[] array is default or offset) {
// do something
}
char someChar = '',
if a single quotation is a compile error? a closed character literal, if i put some space, its a white space character..
how can i assign an offset value for a character variable?