What is the output of this program?
"hello" is a String literal, method charAt() returns the character specified at the index position.
Character at index position 1 is e of hello, hence ch contains e.output:$ javac output.java$ java outpute
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: