What is the result?

Given:public class Vowel { private char var;public static void main(String[] args) { char var1 = 1 a 1 ; char var2 = varl; var2 = 1 e 1 ;Vowel obj1 = new Vowel ();Vowel obj2 = objl; obj1.var = 1 i 1 ; obj 2.var = ‘o’;System.out.println(varl + “, ” +var2);System.out.print(obj1.var + “, ” +obj2.var);}}What is the result?

Question:

What is the result?

Options:

e,e i, o

a, e i, o

a, e o, o

e, e o, o

Correct Answer

The Correct Answer for this Question is

e,e i, o

Leave a Comment