Q&A ICSE2017-02C #7223
Question:
State the data type and value of res after the following is executed:
char ch=’t’;
res= Character.toUpperCase(ch);
Answer:
Data type of res is char and value is T
State the data type and value of res after the following is executed:
char ch=’t’;
res= Character.toUpperCase(ch);
Data type of res is char and value is T