meaning of void in java language
Answer (1)
Void is a keyword and used to specify that a method doesn’t return anything. As method doesn’t return anything, its return type is void . As soon as the method terminates, the java program terminates too. Hence, it doesn’t make any sense to return from method as JVM can’t do anything with the return value of it.
Comments (0)
Related Questions
static meaning in java language
65 Views
applets meaning in java language
55 Views
History of java programing language
54 Views
History of java language its origin
41 Views




