Computer Science, asked by donipudikumar8pdy298, 1 year ago

what is the size of 'p' and "p" in java

Answers

Answered by sony2052
2
Is there a difference in the size of character constant ' P ' and a string containing a single character , say , "P" ? I understand both should be 2 Bytes . am I right ? Is there any way of checking this through code in Java ( like the size of operator in C ) ? TIA

hope it helps you

donipudikumar8pdy298: thanks a lot
sony2052: plz mark in brainlist
sony2052: thanks
Similar questions