Solved

What is Trace in Java?

Posted on 2012-12-29
2
428 Views
Last Modified: 2013-01-03
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
Comment
Question by:Kevin_Coors
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 260 total points
ID: 38729918
In that context, it probably means execute the following program 'on paper'
0
 
LVL 10

Expert Comment

by:Gregg
ID: 38730089
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

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question