Question: java data structures What will happen if a method is executed and the precondition for the method is not met? A. An exception will be
java data structures
What will happen if a method is executed and the precondition for the method is not met?
A. An exception will be thrown.
B. The program will loop indefinitely.
C. The system will crash.
D. Any of the above results could happen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
