Corsi
Accedi
Inizia a imparare l'IA
Corsi
Accedi
Inizia a imparare l'IA
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
import java.io.*; public class BinaryFileDemo { public static void main(String[] args) { FileOutputStream outobject
importjava.io.*;public
-4 Voti
1 Risposta
31st Dec 2020, 3:19 AM
Jibon Kumar
What is that static and void required for ..can't we run with simple static or with void?
java
void
0 Voti
1 Risposta
24th Jul 2016, 9:24 AM
Suneeth
What is the main difference between void main and int main ? Pls answer my question thank u.
c++
2 Voti
3 Risposte
27th May 2017, 6:15 AM
YASH KATARE
Is passing void as a argument to a function same as not passing any kind of arguments in C programming?
c
2 Voti
3 Risposte
28th Jun 2021, 6:05 PM
Aswin Kumar S
Why did not earth end on december 12?
dest
earth
null
void
0 Voti
12 Risposte
19th May 2017, 6:54 AM
Code Master
#include<iostream> using namespace std; void f(int n) { if (n == 1 || n == 0) return; else { cout <
c
c++
recursion
0 Voti
5 Risposte
2nd Jun 2019, 7:41 AM
Shehroz Irfan
If 'void' in the code means it wont return a value, then how is "Hello World" even used? because System.out.println overides it?
java
methods
void
3 Voti
3 Risposte
1st Mar 2017, 11:58 AM
Wildman Fizat
Does all the java code have to be within public static void main(String[ ] args) { )
java
main
method
0 Voti
2 Risposte
12th Jun 2019, 9:45 PM
Shaurya Sen
As we know void doesn't returns any value to compiler. What is the meaning of 'return value to a compiler'? Why is it important?
c++
functions
1 Voto
12 Risposte
1st Dec 2016, 7:11 PM
Black Temple
What the void functions do and where can we use it? Please if you can give me some examples ..thanks🌸
c++
2 Voti
2 Risposte
3rd Jun 2018, 2:11 PM
sayed sayed
public class Program { public static void main(String[] args) { int x = 34; int y = ++x; int z = x+y
operators
1 Voto
5 Risposte
30th Oct 2019, 9:09 PM
Daniel
import java.util.Scanner; public class Program { //your code goes here public static void bot(){ Scanner sc= new Scanne
kipkiruimutai
0 Voti
3 Risposte
14th Jan 2023, 7:36 AM
KIPKIRUI Kelvin Mutai
Can i create an array that prints when called without having to do the println() method?
array
java
static
void
0 Voti
11 Risposte
26th Aug 2017, 6:48 PM
D_Stark
Is void for c++ the same as Sub for VBA Excel or procedure for Delphi/Pascal?
c++
functions
0 Voti
2 Risposte
6th Sep 2017, 10:12 PM
Jona Than
Why we use static to call the object can't we use another method.
methods
static
void
1 Voto
4 Risposte
7th Mar 2018, 12:27 PM
Ajay Verma
What is the difference between void main and int main and what is the difference when same code will excute ..
c
c++
java
5 Voti
3 Risposte
30th Apr 2017, 8:44 AM
P∆WAN M∆URY∆
What are the square brackets for? what does void mean? And please clear difference between console.writeline and console.write?
c#
output
0 Voti
4 Risposte
23rd May 2017, 1:58 PM
Jai Garg
It is assumed that the void function does not return a value, but in the following code, the sum is returned
c
c#
c++
0 Voti
4 Risposte
2nd Jul 2022, 1:02 PM
RAMADAN : رمضان
Функции С++
c++
return
void
1 Voto
1 Risposta
18th Apr 2022, 6:20 PM
deadline
public class Program { public static void main(String[] args) { int day = 5; switch(day) { case
tell
0 Voti
3 Risposte
9th Aug 2017, 11:00 AM
Ramsha Iqbal
Why the program doesn't have any output?
c++
function
void
0 Voti
2 Risposte
26th Nov 2022, 5:14 PM
Root
import java.util.*; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System
java
-3 Voti
3 Risposte
14th Dec 2020, 4:56 PM
ABDULLAHI AMINU
Public static void main - what is meaning in this ,y we have to use in programs
java
0 Voti
3 Risposte
8th Jun 2017, 3:22 PM
indumohara
Which do you write first eg static int() or the entry main statement.... Public static void main....
java
methods
0 Voti
3 Risposte
8th Feb 2017, 6:03 AM
Tochukwu
What is the meaning of "a function which does not return a value" and " a function returns some value" ?? Please send the answer
c++
functions
main
void
3 Voti
7 Risposte
28th Jul 2017, 10:20 AM
Yasir Faiz Ahmed
If i use int in place of void without returning any value....the code still running
c++
0 Voti
1 Risposta
4th Jul 2016, 2:46 PM
Ankit Bisht
Can anyone elaborate why do we use return 0 and void?
function
return
void
0 Voti
2 Risposte
26th May 2019, 8:19 AM
Yash Thakkar
public class Program { public static void main(String[] args) { int[ ][ ] sample = { {1, 2, 3}, {4, 5, 6} };
diy
0 Voti
6 Risposte
16th Jul 2020, 10:26 AM
Saurav Menon
public class main { public static void main(String[] args) { Scanner scan = new Scanner(System.in) ; System.ou
java
-1 Voto
2 Risposte
13th Jun 2021, 9:38 PM
Musaif
How to validate placeholder and navigate to next page?
onclick
public
void
0 Voti
4 Risposte
2nd Jun 2017, 12:14 PM
Sravan Kumar Malyala
Java args what is this??why to use that??why use void everytime...why cant i use int or others!
android
c++
java
-1 Voto
2 Risposte
16th Feb 2019, 12:41 PM
Ferdous Rayhan
What's the problem in this if there is any error what's the error???
c
c++
void
1 Voto
2 Risposte
20th Jun 2018, 2:16 PM
Suppa Shanmana
Class Output { Public static void main ( String args[]) { String str= "true false true"; boolean x= Boolean.valueOf(str); System.out.print(x); } }
java
0 Voti
5 Risposte
25th Feb 2017, 9:09 PM
bhargav
How to go about using a calculation void function to place the values in an array?
cpp
0 Voti
2 Risposte
25th Jan 2017, 9:25 PM
Progress101
Doesn't malloc(); function return a void pointer? Then why in the malloc(); module in C, the type casting is not used?
c_language
malloc();
0 Voti
2 Risposte
19th Apr 2020, 8:09 AM
Manthan Gohel
Why does not it give compile time error when I use void as return type of the constructor ?
constructors
java
return
2 Voti
1 Risposta
5th Apr 2020, 11:21 PM
Rahul Kumar
what is output of given code void func(int x) { x+=6; } int main() { static int x; func(x); cout<<x; return 0; } // zero output explanation given below
c++
2 Voti
10 Risposte
14th Jun 2016, 11:05 AM
Dev!L
I CANT UNDRESTAND
classes
strings
void
1 Voto
3 Risposte
16th Mar 2017, 9:10 AM
Farzad Garousi
What did i get wrong? public class printx { public static void main(String[] args) { int [] array = new int [10];
java
0 Voti
4 Risposte
13th Aug 2019, 12:33 AM
DjCisse Samuel Tsok
What happens if we put only static hello() and not static void hello() in any functions?
functions
java
javascript
methods
static
void
0 Voti
1 Risposta
17th Aug 2018, 6:06 AM
Jinyoongisaranghe
public class Program { public static void main(String[] args) { int arr[]= {5 ,1, 2,3}; System.out.println(bubbleso
bubble
sorting
0 Voti
1 Risposta
16th Nov 2020, 8:56 PM
Asma Omer
public class Program { public static void main(String[] args) { int[ ] intArr = new int[5]; int[5]={1,2,3};
java
0 Voti
2 Risposte
26th Jun 2017, 7:09 PM
gobiga rani
In java why is string[] args used in here: public static void main(string[] args) ??? What if we don't use it??
java
1 Voto
2 Risposte
13th Dec 2019, 9:35 AM
Akansha Roy
what is the output of following program type def int integer # define int chat void main () { int i= 65; int *ptr = &i; int *j =
def
defi
following
int
integer#
of
output
programtype
the
whatis
-1 Voto
10 Risposte
29th Sep 2021, 6:39 AM
Abubakar Sk
Can anyone explain this why we use String a[] in public static void main (String a[])
java
0 Voti
2 Risposte
18th Jul 2017, 2:33 PM
Rajan Khorasiya
Is there a way to use void pointers to make a function that can have any structure parameters ?
c
struct
structs
0 Voti
2 Risposte
10th Jul 2020, 12:26 PM
Alan
how this qsort working?
c
pointers
void
0 Voti
2 Risposte
21st Jun 2020, 2:52 AM
Harshit Nema
What is the output of this code?
6;
int
is
of
output
return
static
Test(out
the
this
void
what
x
y;
y=4)
-1 Voto
38 Risposte
18th Feb 2017, 7:34 PM
Emmanuel Makonga
using System; namespace Project { class MyClass { public static void Main(string[] args) { int age; string name;
c#
error
0 Voti
1 Risposta
5th Oct 2021, 10:16 AM
omitogun toni
Could you please explain the error?
c
code
error
static
void
2 Voti
7 Risposte
29th Jun 2020, 1:41 AM
Kerry Mac
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
12
13
14
...
17
Successivo >
Popolare oggi
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Salut tout le monde
2 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
How to Get Better at Solving Programming Problems
0 Votes