The void is a keyword defined in the java programming
language. Keywords are basically reserved words which have specific meaning
relevant to a compiler in java programming language likewise the void keyword
indicates the following :
-- The void keyword in java programming language represents a null type.
--
Example to use the void keyword in a class:
public class Cla { public void doit(); { <statements> return; } } |
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: void Java Keyword
Post your Comment