Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
what happen if I add "main" in "static void sayhello(String name)" as "static void main sayhello(String name)" on the given code
classes
code
java
main
objects
2 Votes
1 Answer
25th May 2020, 2:29 AM
Ray
Can i use void main() in place of int main()?
c++
1 Vote
5 Answers
11th Oct 2016, 5:19 PM
Sidharth Sreenivas
Can i use void main instead of int main???
c++
0 Votes
4 Answers
29th Oct 2016, 4:08 AM
M Zeya
What is meaning of this code static void Main(string[] args)
c#
0 Votes
4 Answers
8th Jan 2023, 4:40 PM
clip maker
Can we have public static void main(int[] args)?
java
0 Votes
2 Answers
27th Aug 2016, 7:01 PM
Kaustubh
How to link a void method to a name?
link
method
void
0 Votes
2 Answers
2nd Dec 2018, 10:06 AM
Mike Willems
#include <stdio.h> #include <conio.h> void main() { clrscr(); int A, B, C; A=5; if(A>5) { }printf ("\n A is greater than
ok
-5 Votes
39 Answers
24th Nov 2020, 12:36 PM
sumit dubey
What is a difference between void and int fucntion on c++
@c++
0 Votes
4 Answers
16th Sep 2021, 7:44 PM
Abdullah Asaad
Do I need to write public static void everytime?
java
public_static_void
1 Vote
3 Answers
19th May 2017, 9:04 AM
정제윤
Why static is used in code: static void speak(){ }
java
sololearn
static
1 Vote
3 Answers
23rd Jul 2019, 10:27 AM
Satnam Singh
What is the difference between int main and void main
c
0 Votes
3 Answers
16th Jan 2021, 6:39 AM
亗ᴄᴏᴅᴇᴘʟᴀʏᴇʀ⁸⁶
Can We Start A Program without Void Main !?? :3
c++
1 Vote
3 Answers
8th Apr 2018, 11:07 AM
Ayush Chaudhary
Why dont we put void main insted of int main
data-types
0 Votes
4 Answers
18th Oct 2018, 5:14 AM
Nimesh
Is void main () a Library or User Defined Function ??
c
2 Votes
3 Answers
24th Sep 2019, 1:11 PM
Devesh Ratan
What is the main difference in main() and void main()?
c
3 Votes
3 Answers
3rd May 2017, 1:49 PM
HiRo
When to use void main() and when to use int main()
none
0 Votes
4 Answers
23rd Sep 2019, 4:52 AM
SANCHAY CHAKRABORTY
Help me understand what public static void main does please?
comments
java
1 Vote
4 Answers
17th Feb 2018, 4:42 PM
Esther
Help with type-casting & dereferencing of void pointers (C)
c
pointers
type-conversion
void
1 Vote
1 Answer
10th Dec 2018, 9:14 AM
Dikshant Chaubey
Why am i unable to use void main() in c++ ?
c++
cpp
error
3 Votes
1 Answer
20th Mar 2019, 5:51 AM
Shikher Jaitly
what is use of public Static void main
java
0 Votes
2 Answers
22nd Sep 2016, 3:24 PM
Ashish
Why typecasting is needed while dereferencing a void pointer ?
void
1 Vote
2 Answers
15th Jul 2019, 2:35 AM
Krishna Kumar
What is the use of "static" in public static void main(String[] args) ?
java
4 Votes
2 Answers
23rd Jun 2018, 11:05 AM
Ajay Parmar
In void pointr in c, why there is a '*' after 'int' ?
c
void-pointer
1 Vote
3 Answers
30th Dec 2022, 2:47 AM
S M Rakibul Alam
Объясните пожалуйста тему "Методы".
void
1 Vote
2 Answers
19th Jun 2021, 6:36 AM
Тушкан Тушканыч
What if we used void main() instead of int main()?
c++
1 Vote
4 Answers
14th Jun 2016, 9:58 AM
Bijesh Mohan
difference between clus and public static void main
java
0 Votes
2 Answers
10th Feb 2018, 4:56 PM
raynand navarra
What is the meaning of void when coding?
c++
0 Votes
2 Answers
21st Jan 2017, 4:16 PM
rekiyah yusuf
17.1 why do we need a abstract void were you can call the and just make the void with the same names.
abstract-classes
abstract-methods
1 Vote
1 Answer
23rd Dec 2020, 5:27 AM
Crazy games
this works on visual studios but not here help
void
1 Vote
2 Answers
30th May 2018, 3:25 PM
Corey Bryan
what return when main method becomes static void
java
methods
0 Votes
2 Answers
23rd Nov 2016, 8:55 AM
rajan kumar gupta
Why in c++ I cannot declare void main()?
main
0 Votes
2 Answers
25th Nov 2017, 5:45 PM
Demyan Illin
What is the difference between int and void functions?
c++
int
void
0 Votes
3 Answers
26th Apr 2017, 4:30 AM
Aditya Saumya
What is int ?? Can we use void main
c++
0 Votes
3 Answers
30th Jul 2017, 6:21 AM
DEEPENDU PANDIT
why have we use public static void instead of public void?
eclipse
java
0 Votes
6 Answers
25th Sep 2016, 8:53 AM
Goku San
What is the difference between static void and public static void?
java
1 Vote
2 Answers
25th Dec 2019, 7:38 AM
Yoga
Why does he set "static void main (string)"?
c#
input
0 Votes
1 Answer
29th Dec 2016, 2:52 AM
Alessia Giammarino
Can we declare main as void and not use return statement
c++
0 Votes
6 Answers
14th Nov 2016, 11:00 AM
Shreyash Mundhra
What is input and output arguments of a void function?
c++
1 Vote
2 Answers
26th May 2018, 6:18 PM
Haris Hussain
What's the difference between void main() and int main() ?
c++
2 Votes
2 Answers
18th Jul 2016, 11:19 AM
Mahima Rajvir Singh
what is the difference between main() and void main()
c++
1 Vote
2 Answers
14th Jun 2016, 12:27 PM
anirudh
public void setZeroes(int[][] matrix) its given wrong test cases
setzeroawrray
0 Votes
1 Answer
27th Jul 2023, 8:34 AM
subrat yadav
What is "public static void "mean and use for?
java
static
void
1 Vote
2 Answers
25th Jul 2016, 6:24 PM
Emad Taheri
What's the difference between static void and void() { ?
code
java
needhelp
question
static
void
1 Vote
3 Answers
21st Jan 2018, 6:46 PM
Jaren Dogan
Why can't we use the void main() function in the hello world program??
c++
helloworld
1 Vote
8 Answers
20th Oct 2018, 11:10 AM
Ramya Devi Nataraj
Otello cod for c++
void
0 Votes
3 Answers
15th Dec 2017, 9:29 AM
mohammad javad
Void main is not working in code block compiler.. Why?
c++
0 Votes
2 Answers
18th Feb 2017, 4:15 PM
Skelli Bro
import java.util.Scanner; public class Interest { @SuppressWarnings("resource") public static void main(String[] args) { Sc
programming
-3 Votes
13 Answers
30th Nov 2020, 6:57 AM
Tiamiyu Toheeb
Does "public static void main" must be in this order ?
java
3 Votes
3 Answers
3rd Sep 2016, 1:02 AM
Ziq Kimi
When do we use iostream.h and void main() etc?
turbo#c++
0 Votes
1 Answer
3rd Feb 2019, 3:55 PM
Heath Ledge
In Java what is meaning of public static void ?
java
question
2 Votes
2 Answers
4th Sep 2017, 4:17 AM
Ahmad Taj
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
6
7
8
...
17
Next >
Hot today
Guys help please
1 Votes
Python question
2 Votes
Are websites hackable?
1 Votes
Python
1 Votes
Void functional void with bool function
0 Votes
C# and sql
1 Votes
TICTACTOE
0 Votes
Error
0 Votes
What course to take for AI?
0 Votes
Learn python
0 Votes