Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Inspect and Display

 
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: 3371
12
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic