• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

What is Trace in Java?

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
0
Kevin_Coors
Asked:
Kevin_Coors
1 Solution
 
CEHJCommented:
In that context, it probably means execute the following program 'on paper'
0
 
GreggCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now