Sail E0 Webinar
Question

Which of these methods of Character wrapper can be used to obtain the char value 

contained in Character object.


Options:
A .  get()
B .  getVhar()
C .  getValue()
D .  getCharacter()
Answer: Option C

To obtain the char value contained in a Character object, we use charValue() method.



Was this answer helpful ?

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers