Java println - Whats the layout?

Soldato
Joined
27 Aug 2004
Posts
17,111
Location
Geordieland
Hi guys,

Created a program but havign bothe printing the values out. I know you can use the println function to print a value from a different method to the println as ive seen it used, but i cant remember how to do it.

Its something like
Code:
System.out.println (<method>.<variable>())

Am i just going daft or is this possible? Hd a look on the API and cant see anything of use.

Cheers
 
Back
Top Bottom