Question: Which code line could possibly call a method with the following header: public static boolean myMethod ( int x, char ch ) ? boolean
Which code line could possibly call a method with the following header: public static boolean myMethod ( int x, char ch ) ? boolean val = myMethod ( counter, "A" ); boolean val = myMethod ( counter ); myMethod (counter, 'A' ); boolean val = myMethod ( counter, 'A' ); O None of the above
Step by Step Solution
3.49 Rating (159 Votes )
There are 3 Steps involved in it
Answer is optiond boolean val myMethod coun... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
6364f054edb31_239861.pdf
180 KBs PDF File
6364f054edb31_239861.docx
120 KBs Word File
