Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

Q. what is the output of below java program?

Code:
public class Main
{
	public static void main(String[] args) {
		int a = 'a';
		System.out.print(a);
	}
}
(A) 65
(B) 97
(C) 'a'
(D) a

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.