What Will Be The Output Of The Following Java Codep Pre #20
What will be the output of the following Java code?</p> <pre><code class="language-java" line="1"> class asciicodes { public static void main(String args[]) { char var1 = 'A'; char var2 = 'a'; System.out.println((int)var1 + " " + (int)var2); } }</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 Character and Boolean Data Types - Quiz No.1.