Ok, just 2 lines of code. I understand the first line. What’s the meaning of the second line and when and why do i have to use this line?
char c = 'x';
Character C = new Character(c);
Please answer to all of the questions..(What’s,when,why)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
charis a primitive type.Characteris the wrapper to the primitive type, as you can see in the Java documentation