Learn more in the app.
View in app
Linked Classes - Java Quiz Question
What will be the output of the following program?
M5 M4 N3 M3 N2 O1 M2 N1 O0 M-1
M5 M4 N3 M3 N2 O1 M2 N1 O0
M6 M5 N4 M4 N3 O2 M3 N2 O1 M0
Some other output not shown here
Compilation Error or Run-time Error or goes into infinite loop