State the output of the following:
System.out.println("Computer Exam"+20+20);
System.out.println("Computer Exam"+(20+21));
Share
State the output of the following:
System.out.println("Computer Exam"+20+20);
System.out.println("Computer Exam"+(20+21));
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Given Snippet:
System.out.println("Computer Exam"+20+20);
System.out.println("Computer Exam"+(20+21));
Output of the given Snippet:
Computer Exam2020
Computer Exam41