Question: You have the following declaration please note the 2 - two - spaces after the last letter and the two spaces in between every letter.
You have the following declaration please note the twospaces after the last letter and the two spaces in between every letter. There are no spaces at the beginning: Strings A B C ;
trim;
System.out.printins;
What will be printed?
A Nothing. No error either
B ABC with no spaces between the letters but with the two spaces at the end
C It will not print anything. It will give an error because there are spaces in the middle.
D A B C with two spaces between letters but no spaces at the end
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
