Cursos
Cursos
Code Compiler
Code Compiler
Discussão
Preços
Equipas
Iniciar sessão
Registar
Menu
Discussões Q&A
Pesquisar
Pesquisar
Fazer uma pergunta
Fazer uma pergunta
import java.util.*; class Program { public static void main(String[] args) { int ch; float usd,inr;
java
0 Voto
5 Respostas
28th Jun 2017, 2:17 PM
Rajan Khorasiya
Can we use char main, string main instead of int main and void main?? If so what is the return type?
c++
main
return
9 Votos
7 Respostas
26th Jun 2017, 11:02 PM
Harini T
what is the situation to use void? can we replace void with int ?
c++
functions
1 Voto
3 Respostas
9th Dec 2016, 9:41 AM
sandeep varma yavanamanda
In this program , why there is need to write Void before bark() method
classes
java
objects
0 Voto
2 Respostas
8th Sep 2019, 12:22 PM
Rupal Raut
Error: Main method not found in class Pozycja, please define the main method as: public static void main(String[] args) or a
java
0 Voto
11 Respostas
5th Jan 2020, 9:34 PM
Ivan
Hi , this is teja.. Do we can use void main () in C++??
c++
1 Voto
3 Respostas
19th Jun 2017, 12:56 PM
dharma
Is main func can be used as recursive function ?
main
void
0 Voto
4 Respostas
7th Jun 2017, 7:07 PM
Dharshan Kumar
Why can't we use void main insted of int main as taught in our school
c++
0 Voto
5 Respostas
5th Oct 2016, 1:36 AM
Vibhu
Why we use int main( ) in some program s in place of void main?
c
language
0 Voto
3 Respostas
27th Oct 2019, 6:15 PM
Sunny Aitha
Why do we use static keyword in the line public static void main(string args[])
java
1 Voto
3 Respostas
3rd Sep 2016, 12:21 PM
Shubham Jain
What is delegates in c#?
delegate
void
0 Voto
2 Respostas
26th Sep 2019, 10:30 AM
Vardan Davtyan
int in C and in Java Is Void Both are variable are same ?? Na??
c
java
0 Voto
5 Respostas
24th Sep 2017, 9:04 AM
prashant vyas
What is return value in java ?
java
methods
return
void
0 Voto
25 Respostas
19th Nov 2017, 6:09 PM
ajmal yousuf
public class Hello World { public static void main(String [ ] args ) } { System.out.println ("Hello World");
help
2 Votos
8 Respostas
21st Jan 2018, 5:15 PM
PRASHANT Mishra
public class Program { public static void main(String[] args) { int x=8, y=2; System.out.println(y%x);
q
1 Voto
2 Respostas
30th Dec 2019, 4:26 PM
BAYODE BLESSING AKINBOLA
Write a program in java whereas no is even or odd and print only third even no.from 1 to 20 counting of number
main
void
-5 Votos
4 Respostas
10th Jul 2019, 7:50 PM
DOLAT RATHORE
public class Program { public static void main(String[] args) { int a=5; int b=2; int f=+a+b; System.out.pri
java
0 Voto
3 Respostas
7th Apr 2019, 7:51 AM
Vignesh R
Whats wrong with void return type function for creating a main function
c++
0 Voto
2 Respostas
9th Apr 2017, 8:35 AM
Mohd Thanveer Mk
Why we cannot use voide at place of int in c++language
c++
in
void
0 Voto
11 Respostas
13th Jan 2018, 5:12 PM
ratnaprabha purandare
Write a program desimal no. To binary code I need help
main
void
1 Voto
1 Resposta
4th Sep 2023, 7:54 AM
Jitendra Sharma
How I can in one method 《public void 》convert binary to decimal easy way in Java for beginners?
binarytodecimal
convertbinarytodecimal
javabeginners
javaconvertmachine
0 Voto
2 Respostas
16th Jan 2020, 7:49 PM
Mika Timur
can u write a c++ program in all caps? like :#INCLUDE<IOSTREAM. H> VOID MAIN() { COUT<<"CHALLENGE";}
c++
1 Voto
5 Respostas
24th Mar 2017, 6:08 AM
Vishvambar Panth
Void doesn't return a value for a function. Then where does the need of such functions come that doesn't return a value?
c++
functions
void
4 Votos
7 Respostas
18th Oct 2016, 2:05 PM
Jaya
public class Program { public static void main(String[] args) { float a =10.2; float b=5.3; float c=a%b;
java
0 Voto
4 Respostas
25th May 2020, 1:13 PM
Harsh Vyas
class MyClass { public static void main(String[ ] args) { System.out.println("Hello World"); } }
i
-1 Voto
3 Respostas
23rd Jan 2021, 1:25 PM
Harsh Verma
Why can't I return a void value in c++? Is it compulsory to return int value everytime?
c++
if-statements
3 Votos
5 Respostas
13th Oct 2017, 3:20 PM
Manikanta
Час в минуты
hours
main
void
1 Voto
4 Respostas
13th Jul 2021, 6:39 AM
Irina Vasilieva
For f(3,6) What is void doing here I thought the correct answer 31 but the answer is wrong
.
1 Voto
6 Respostas
3rd Apr 2020, 11:48 AM
Mohamad Alkaleeh
What are objects,classes,instances,and methods in java and how do they relate? What is static void new and args?
args
classes
instance
java
methods
new
objects
static
void
2 Votos
7 Respostas
24th Nov 2017, 3:33 PM
Unidentified
Give the ouput and explain #include<iostream.h> void main() { int a =32, *ptr=&a; char ch='A' , &cho=ch; cho+=a; *ptr+=ch; cout<<a<<" "<<ch<<endl; }
c++
cout
void
2 Votos
5 Respostas
18th Jul 2016, 12:47 PM
Mahima Rajvir Singh
When to use 'void main ()' and when to use 'int main ()' in C language ? Will anyone help me by posting examples, please.
c
int
main
preprocessor
void
26 Votos
10 Respostas
1st Aug 2017, 5:21 PM
Tanweer Ashif
What is the output of this code? static int Test(out int x, int y=4) { x = 6; return x * y; } static void Main(string[] args
code?
int
is
of
output
static
test(out
the
this
what
0 Voto
2 Respostas
19th Sep 2018, 1:39 AM
Lavetta Lewis
When we should use void main() and when to use int main()..!
1 Voto
1 Resposta
24th Nov 2016, 2:35 PM
Tanu Purohit
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner read = new Scanner
java#coder
1 Voto
3 Respostas
27th Jan 2022, 2:35 PM
Hirdesh Prajapati
What is "void main"
main
void
0 Voto
3 Respostas
10th Nov 2016, 2:57 PM
suman sharma
How to concatenate string and void in C# ? The main problem is in the last line of code .
asp.netmvc
c#
0 Voto
8 Respostas
14th Jul 2022, 7:06 PM
Mustafa Azzoz
What can I fill here class MyClass { public static void main(String[ ] args) { System.out.println("Hello World");
java
2 Votos
5 Respostas
14th Jan 2018, 4:21 PM
Sharoj yadav
Hi guys! Whats the difference btwn void and int? This two stuffs complicate my brain
c++
java
1 Voto
2 Respostas
23rd May 2018, 10:14 PM
Ahmad Mustapha Sadauki
public class Program { public static void main(String[] args) { int x[]={110,20,30,40,50,70}; int y[]; y=x;
operands
0 Voto
1 Resposta
27th Sep 2019, 3:24 PM
Anuj Patel
public class IfClass { public static void main(String[] args) { int noOfPetals = 5; if (noOfPetals % 2 ==
java
1 Voto
4 Respostas
24th Jul 2020, 4:54 AM
Gautam Patel
import java.util.Scanner; public class AsciiSum { public static void main(String[] args) { Scanner scanner = new Sc
10
1 Voto
2 Respostas
31st May 2025, 5:55 PM
Rishika
class Parent { public static void show(){ System.out.println("parent class"); } } class Child extends Parent {
java
0 Voto
2 Respostas
25th Apr 2018, 5:11 PM
pankaj
import java.util.*; public class Program { public static void main(String[] args) { Scanner sc=new Scanner(Syst
.
0 Voto
2 Respostas
14th Sep 2022, 3:32 PM
A.T.U .L.
What is the meaning of void? Where and when we will use void in #c?
c#
output
void
1 Voto
3 Respostas
4th Apr 2017, 3:46 PM
Haziq Zabridin
Can we reassign the variable values in main() function by using the user defined function (return type || void )? In C
c
doubt
in
2 Votos
9 Respostas
17th Oct 2020, 6:47 AM
Yogeshwaran P
Can we start program without #include..etc
c++
main
void
0 Voto
9 Respostas
15th Feb 2018, 7:12 PM
rajesh
Why is the void data type used for the function if the output is a string?
c++
constants
0 Voto
5 Respostas
2nd Aug 2016, 3:42 AM
Ian Dillon
Can someone tell me why it using int factorial.. And not using void factorial?
c++
recursion
0 Voto
3 Respostas
13th Oct 2016, 4:29 AM
Seinsora x
Is it possible to cast a void pointer to the type of its content?
c++
cast
pointer
void
0 Voto
1 Resposta
24th May 2020, 8:06 PM
Mustafa K.
Shouldnt the name in the void function somehow be initialized as a string type?
c++
encapsulation
0 Voto
3 Respostas
23rd Feb 2017, 10:27 PM
Dino Luinovic
Fazer uma pergunta
Fazer uma pergunta
Fazer uma pergunta
Fazer uma pergunta
< Anterior
1
...
10
11
12
...
17
Seguinte >
Popular hoje
Machine Learning models “learn” kaise karte hain?
0 Votes
How can A.I be used for social media manager ?
0 Votes
How can i make turtle art in sololearn
0 Votes
Inquiry for img code
0 Votes
Music ingame
0 Votes
C language
0 Votes
Iske python mein phishing page kaise banay
0 Votes
Why does solo learn needs heart to code and you need to buy pro to get unlimited heart
1 Votes