Question: What output is produced by the following program? 1 public class MysteryWho { public static void main (String [] args) { 3 String whom her;
What output is produced by the following program?
![1 public class MysteryWho { public static void main (String [] args) { 3 String whom](https://dsd5zvtm8ll6.cloudfront.net/si.question.images/images/question_images/1606/7/3/2/2485fc4c9d8a75b41606732161847.jpg)
1 public class MysteryWho { public static void main (String [] args) { 3 String whom "her"; 4 String who "him"; String it = "who"; String he = "it"; 7 String she "whom"; %3D 9. sentence (he, she, it); 10 sentence (she, he, who); 11 sentence (who, she, who); 12 sentence (it, "stu", "boo"); 13 sentence (it, whom, who); 14 15 16 public static void sentence (String she, String who, String whom) { 17 System.out.println (who + and + whom + " like " she); 18 19 2. CO
Step by Step Solution
3.40 Rating (166 Votes )
There are 3 Steps involved in it
Output of MysteryWho progr... View full answer
Get step-by-step solutions from verified subject matter experts
