Using toUpperCase() of Character Wrapper – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  

Login
[lwa]



Exam Questions-ICSE2017-02C #JAVA#7223    siteicon   siteicon  

Problem Statement - Using toUpperCase() of Character Wrapper

State the data type and value of res after the following is executed:
char ch=’t’;
res= Character.toUpperCase(ch);

Solution

TC++ #7223

Data type of res is char and value is T


Share

CSKC| Created: 15-Apr-2019 | Updated: 26-Nov-2019|ICSE2017






Back