check out the javadoc for System. you'll see that out is a variable,
but it's a variable of type PrintStream. PrintStream has the method
println()
so, variables can have methods if the variable is an object with
methods, and not a primitive (int, float, byte, char, etc)