Java Programming/Keywords/void - Wikibooks, Open Books For An ...
Maybe your like
Jump to content
- Book
- Discussion
- Read
- Edit
- Edit source
- View history
- Read
- Edit
- Edit source
- View history
- What links here
- Related changes
- Upload file
- Permanent link
- Page information
- Cite this page
- Get shortened URL
- Wikipedia
- Wikiversity
- Wiktionary
- Wikiquote
- Wikisource
- Wikinews
- Wikivoyage
- Commons
- Wikidata
- MediaWiki
- Meta-Wiki
- Create a collection
- Download as PDF
- Printable version
void is a Java keyword.
Used at method declaration and definition to specify that the method does not return any type, the method returns void. It is not a type and there is no void references/pointers as in C/C++.
For example:
| publicvoidmethod() { //... return;// -- In this case the return is optional //and not necessary to use public but some changes will be there } |
See also:
- Java Programming/Keywords/return
- Book:Java Programming/Keywords
- Pages using deprecated enclose attributes
- Pages with deep filing
Tag » What Does Void Mean In Java
-
Java Void Keyword - W3Schools
-
What Is The Meaning Of Void In Java? - Quora
-
What Does Void Mean In Java? - Examples Java Code Geeks - 2022
-
What Does 'public Static Void' Mean In Java? - Stack Overflow
-
Void Keyword Definition In Java - ThoughtCo
-
Void Type In Java | Baeldung
-
What Does Void Mean In Java - Linux Hint
-
Java Main() Method - Public Static Void Main(String[] Args)
-
What Does 'public Static Void' Mean In Java? - Intellipaat Community
-
The Void Keyword In Java Programming Language - Codeforcoding
-
What Is 'Public Static Void Main' In Java? - Video & Lesson Transcript
-
What Does 'public Static Void' Mean In Java? - HKR Trainings
-
The Void Return Type In Java - YouTube
-
Public Static Void Main(String[] Args) - Java Main Method | DigitalOcean