What is Trace in Java?

Kevin_Coors
Kevin_Coors used Ask the Experts™
on
Hello

I am looking at some past papers and there is a question as follows.

Q. Trace the following Java program.

What does this mean please?

I am a 1st year student so the code is no too complex.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016
Commented:
In that context, it probably means execute the following program 'on paper'

Commented:
I agree with CEHJ,  I recall in my java classes at local community college we would trace a simple program. Specifically we diagrammed the stack trace and heap on paper.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial