What Will Be The Output Of The Following Java Codep Pre #66
What will be the output of the following Java code?</p> <pre><code class="language-java" line="1"> class char_increment { public static void main(String args[]) { char c1 = 'D'; char c2 = 84; c2++; c1++; System.out.println(c1 + " " + c2); } }</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Data Types Variables Arrays - Java Type Conversions, Promotions and Castings - Quiz No.1.