• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between Inspect and Display  RSS feed

 
Nandhini Sridharan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am taking IBM 255 day after tomorrow. can anyone pls explain me the difference between Inspect and Display in debugging aspect. I am bit confused with that.

Thank you
 
Mikalai Zaikin
Ranch Hand
Posts: 3403
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably it's too late, but if you still curious:

Display:
1) Evaluates and prints on the screen output of the statement execution or .toString() method if you select on variable.
2) Displayed in text format.

Inspect:
1) May be used only for statements that return something , or variables of course.
2) Display info in the tree format.

HTH,
MZ
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!