aspose file tools*
The moose likes Java in General and the fly likes in the below code what could be the statement  to display the output of a+b. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "in the below code what could be the statement  to display the output of a+b." Watch "in the below code what could be the statement  to display the output of a+b." New topic
Author

in the below code what could be the statement to display the output of a+b.

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

in the below code what could be the statement to display the output of a+b.



The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18662
    
    8

Do you know what is the code to display a value?
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

Paul Clapham wrote:Do you know what is the code to display a value?

i know i got that
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39415
    
  28
Why have you got a method called show(...), which doesn't show anything?
 
 
subject: in the below code what could be the statement to display the output of a+b.