java - On Void return type -



java - On Void return type -

if 1 needs homecoming void type, javadoc describes

a class uninstantiable placeholder class hold reference class object representing java keyword void.

why next still require null returned?

public void blah() { homecoming null; // seems want null }

void class other, function returning void has homecoming reference (such null). in fact, void final , uninstantiable, means null thing function returning void return.

of course of study public void blah() {...} (with lowercase v) doesn't have homecoming anything.

if you're wondering possible uses void, see uses java void reference type?

java void

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -