Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the purpose of Void class in Java?
Home
JAVA
What is the purpose of Void class in Java?
+1
vote
asked
May 30, 2020
in
JAVA
by
Robindeniel
What is the purpose of Void class in Java?
#java-void-class
#void-class-java
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 30, 2020
by
SakshiSharma
The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the primitive Java type void.
Related questions
0
votes
Q: What is the purpose of using java.lang.Class class?
asked
May 7, 2021
in
JAVA
by
sharadyadav1986
java
class
Java-questions-answers
0
votes
Q: What does 'public static void' mean in Java?
asked
Nov 15, 2020
in
JAVA
by
rajeshsharma
#java-public-static-void
#public-static-void
#java-function
Java-questions-answers
0
votes
Q: What is public static void main in java?
asked
Oct 11, 2020
in
JAVA
by
SakshiSharma
#public-static-void-java
#public-static-mainjava
Java-questions-answers
+2
votes
Q: Can we have any other return type than void for main method in Java?
asked
May 31, 2020
in
JAVA
by
SakshiSharma
#java-void-main
#java-method-main
#java-void-method
Java-questions-answers
0
votes
Q: Why main() method is public, static and void in java ?
asked
Jun 16, 2019
in
JAVA
by
reins.robin
#java
#java-script
#java-interview
#java-question
#java-interview-question
Java-questions-answers
+1
vote
Q: What is the purpose of the System class?
asked
May 12, 2021
in
JAVA
by
rajeshsharma
system-class
java
Java-questions-answers
+1
vote
Q: What is the purpose of the Runtime class?
asked
May 5, 2021
in
JAVA
by
SakshiSharma
#runtime-class
java
Java-questions-answers
0
votes
Q: What if I write static public void instead of public static void?
asked
Nov 14, 2020
in
JAVA
by
rajeshsharma
#java-public
#java-public-void
Java-questions-answers
+1
vote
Q: What is the purpose of using the Java bean?
asked
May 12, 2021
in
JAVA
by
rajeshsharma
java
java-bean
Java-questions-answers
0
votes
Q: What is the purpose of toString() method in Java?
asked
May 4, 2021
in
JAVA
by
SakshiSharma
#tostring-method
java
Java-questions-answers
...