Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une 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 Réponse
25th May 2020, 2:29 AM
Ray
Can i use void main() in place of int main()?
c++
1 Vote
5 Réponses
11th Oct 2016, 5:19 PM
Sidharth Sreenivas
Can i use void main instead of int main???
c++
0 Vote
4 Réponses
29th Oct 2016, 4:08 AM
M Zeya
What is meaning of this code static void Main(string[] args)
c#
0 Vote
4 Réponses
8th Jan 2023, 4:40 PM
clip maker
Can we have public static void main(int[] args)?
java
0 Vote
2 Réponses
27th Aug 2016, 7:01 PM
Kaustubh
How to link a void method to a name?
link
method
void
0 Vote
2 Réponses
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 Réponses
24th Nov 2020, 12:36 PM
sumit dubey
What is a difference between void and int fucntion on c++
@c++
0 Vote
4 Réponses
16th Sep 2021, 7:44 PM
Abdullah Asaad
Do I need to write public static void everytime?
java
public_static_void
1 Vote
3 Réponses
19th May 2017, 9:04 AM
정제윤
Why static is used in code: static void speak(){ }
java
sololearn
static
1 Vote
3 Réponses
23rd Jul 2019, 10:27 AM
Satnam Singh
What is the difference between int main and void main
c
0 Vote
3 Réponses
16th Jan 2021, 6:39 AM
亗ᴄᴏᴅᴇᴘʟᴀʏᴇʀ⁸⁶
Can We Start A Program without Void Main !?? :3
c++
1 Vote
3 Réponses
8th Apr 2018, 11:07 AM
Ayush Chaudhary
Why dont we put void main insted of int main
data-types
0 Vote
4 Réponses
18th Oct 2018, 5:14 AM
Nimesh
Is void main () a Library or User Defined Function ??
c
2 Votes
3 Réponses
24th Sep 2019, 1:11 PM
Devesh Ratan
What is the main difference in main() and void main()?
c
3 Votes
3 Réponses
3rd May 2017, 1:49 PM
HiRo
When to use void main() and when to use int main()
none
0 Vote
4 Réponses
23rd Sep 2019, 4:52 AM
SANCHAY CHAKRABORTY
Help me understand what public static void main does please?
comments
java
1 Vote
4 Réponses
17th Feb 2018, 4:42 PM
Esther
Help with type-casting & dereferencing of void pointers (C)
c
pointers
type-conversion
void
1 Vote
1 Réponse
10th Dec 2018, 9:14 AM
Dikshant Chaubey
Why am i unable to use void main() in c++ ?
c++
cpp
error
3 Votes
1 Réponse
20th Mar 2019, 5:51 AM
Shikher Jaitly
what is use of public Static void main
java
0 Vote
2 Réponses
22nd Sep 2016, 3:24 PM
Ashish
What is the use of "static" in public static void main(String[] args) ?
java
4 Votes
2 Réponses
23rd Jun 2018, 11:05 AM
Ajay Parmar
Why typecasting is needed while dereferencing a void pointer ?
void
1 Vote
2 Réponses
15th Jul 2019, 2:35 AM
Krishna Kumar
In void pointr in c, why there is a '*' after 'int' ?
c
void-pointer
1 Vote
3 Réponses
30th Dec 2022, 2:47 AM
S M Rakibul Alam
What if we used void main() instead of int main()?
c++
1 Vote
4 Réponses
14th Jun 2016, 9:58 AM
Bijesh Mohan
Объясните пожалуйста тему "Методы".
void
1 Vote
2 Réponses
19th Jun 2021, 6:36 AM
Тушкан Тушканыч
difference between clus and public static void main
java
0 Vote
2 Réponses
10th Feb 2018, 4:56 PM
raynand navarra
What is the meaning of void when coding?
c++
0 Vote
2 Réponses
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 Réponse
23rd Dec 2020, 5:27 AM
Crazy games
this works on visual studios but not here help
void
1 Vote
2 Réponses
30th May 2018, 3:25 PM
Corey Bryan
what return when main method becomes static void
java
methods
0 Vote
2 Réponses
23rd Nov 2016, 8:55 AM
rajan kumar gupta
Why in c++ I cannot declare void main()?
main
0 Vote
2 Réponses
25th Nov 2017, 5:45 PM
Demyan Illin
What is the difference between int and void functions?
c++
int
void
0 Vote
3 Réponses
26th Apr 2017, 4:30 AM
Aditya Saumya
What is int ?? Can we use void main
c++
0 Vote
3 Réponses
30th Jul 2017, 6:21 AM
DEEPENDU PANDIT
why have we use public static void instead of public void?
eclipse
java
0 Vote
6 Réponses
25th Sep 2016, 8:53 AM
Goku San
What is the difference between static void and public static void?
java
1 Vote
2 Réponses
25th Dec 2019, 7:38 AM
Yoga
Why does he set "static void main (string)"?
c#
input
0 Vote
1 Réponse
29th Dec 2016, 2:52 AM
Alessia Giammarino
Can we declare main as void and not use return statement
c++
0 Vote
6 Réponses
14th Nov 2016, 11:00 AM
Shreyash Mundhra
What is input and output arguments of a void function?
c++
1 Vote
2 Réponses
26th May 2018, 6:18 PM
Haris Hussain
What's the difference between void main() and int main() ?
c++
2 Votes
2 Réponses
18th Jul 2016, 11:19 AM
Mahima Rajvir Singh
what is the difference between main() and void main()
c++
1 Vote
2 Réponses
14th Jun 2016, 12:27 PM
anirudh
public void setZeroes(int[][] matrix) its given wrong test cases
setzeroawrray
0 Vote
1 Réponse
27th Jul 2023, 8:34 AM
subrat yadav
What is "public static void "mean and use for?
java
static
void
1 Vote
2 Réponses
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 Réponses
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 Réponses
20th Oct 2018, 11:10 AM
Ramya Devi Nataraj
Void main is not working in code block compiler.. Why?
c++
0 Vote
2 Réponses
18th Feb 2017, 4:15 PM
Skelli Bro
Otello cod for c++
void
0 Vote
3 Réponses
15th Dec 2017, 9:29 AM
mohammad javad
import java.util.Scanner; public class Interest { @SuppressWarnings("resource") public static void main(String[] args) { Sc
programming
-3 Votes
13 Réponses
30th Nov 2020, 6:57 AM
Tiamiyu Toheeb
Does "public static void main" must be in this order ?
java
3 Votes
3 Réponses
3rd Sep 2016, 1:02 AM
Ziq Kimi
When do we use iostream.h and void main() etc?
turbo#c++
0 Vote
1 Réponse
3rd Feb 2019, 3:55 PM
Heath Ledge
In Java what is meaning of public static void ?
java
question
2 Votes
2 Réponses
4th Sep 2017, 4:17 AM
Ahmad Taj
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
6
7
8
...
17
Suivant >
Aujourd'hui en vedette
MY SNAKE GAME CODE ISN'T working of python
4 Votes
Java question Can anyone help me with the test case situation in that problem like 3 test case is pass but other are not 🤦🤦
4 Votes
How to improve code readability
0 Votes
Functions
1 Votes
App
0 Votes
I NEED to make a game
0 Votes
Please help with the output
0 Votes
Grouping data is not working
0 Votes
Use of flag
0 Votes
Python input() function is strange (a bug or a feature?)
1 Votes