• 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: 3381
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
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!