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
If my main intention is to make app and program robots, where should i start?
iknownothing
0 Vote
2 Réponses
17th Dec 2017, 8:51 AM
Sara 76
Can anyone tell me how to call the the functions in main in the give code?
functions
stack
1 Vote
1 Réponse
30th Mar 2019, 7:12 AM
Abhishek Dimri
Why would I need to overload the "main" method?
java
main
method
overloading
7 Votes
2 Réponses
20th Sep 2017, 8:21 PM
David Akhihiero
Does all the java code have to be within public static void main(String[ ] args) { )
java
main
method
0 Vote
2 Réponses
12th Jun 2019, 9:45 PM
Shaurya Sen
Must every code have an int main. And why?
c++
int
main
2 Votes
2 Réponses
17th Nov 2016, 8:48 PM
Cody Arthur
Differences between int main() and void main()
c++
int
main
return0
void
9 Votes
4 Réponses
29th Oct 2016, 11:26 AM
Rebeka Asryan
Guys wanted to ask what is name space std that is used before main ()
c++
0 Vote
2 Réponses
5th Jul 2017, 2:33 AM
Akshay Iyer
What is the main reason for changing in body of HTML (Html5 is totally change from HTML4) why ??
grown
web
0 Vote
2 Réponses
11th Jun 2021, 10:32 AM
Rohan
Is SoloLearn wrong???
c#
code
main
1 Vote
1 Réponse
31st Dec 2018, 5:26 AM
Jigoku saru
Class Output { Public static void main ( String args[]) { String str= "true false true"; boolean x= Boolean.valueOf(str); System.out.print(x); } }
java
0 Vote
5 Réponses
25th Feb 2017, 9:09 PM
bhargav
how is method related to object in javascript and what is the main uses of objects
javascript
objects
0 Vote
1 Réponse
29th May 2019, 3:57 AM
clovert
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 Vote
10 Réponses
29th Sep 2021, 6:39 AM
Abubakar Sk
What is the main funtion of head,and what is the diffrence b/ween a tag and an element
<head></head>
0 Vote
2 Réponses
9th Jun 2018, 3:20 PM
Muhammad Hamzah
Public static void main - what is meaning in this ,y we have to use in programs
java
0 Vote
3 Réponses
8th Jun 2017, 3:22 PM
indumohara
How to print a character type variable through a function which is inputted inside the main ()?
c++
functions
0 Vote
3 Réponses
30th Apr 2017, 4:34 AM
Soham Biswas
Which do you write first eg static int() or the entry main statement.... Public static void main....
java
methods
0 Vote
3 Réponses
8th Feb 2017, 6:03 AM
Tochukwu
How to make a program using function?? And what is the difference btw in main and function.
c++
else-statements
0 Vote
3 Réponses
5th Nov 2016, 5:13 PM
saijal sinha
Input a string and a substring,search the substring in string,if found than revesrse it in main string.
c++
1 Vote
2 Réponses
16th Oct 2016, 2:41 PM
Prasun Verma
By the way can you tell me what is the function of void return 0 in a c program
c
main
return
0 Vote
1 Réponse
30th May 2019, 5:54 AM
Prakash munjewar
static methods
c#
main
static
0 Vote
2 Réponses
9th Nov 2017, 11:34 AM
Bar
how to call non static methods that are already in abstract class inside main class static method in java?
abstract
class
coding
java
methodcalling
non-static
programming
static
1 Vote
2 Réponses
1st Mar 2020, 6:36 AM
D ̲E ̲S ̲S ̲I ̲E ̲- ̲B ̲A ̲H ̲I ̲R ̲U ̲
What is the main purpose of interface in java why not use simply the multiple inheritance ?
interfaces
java
multiple_inheritance
1 Vote
2 Réponses
14th Oct 2016, 10:37 AM
said thitah
public class main { public static void main(String[] args) { Scanner scan = new Scanner(System.in) ; System.ou
java
-1 Vote
2 Réponses
13th Jun 2021, 9:38 PM
Musaif
def ModeratedMarks(marks, passMarks): if marks == passMarks-1 or marks == passMarks-2: marks = passMarks return marks def main
python
0 Vote
2 Réponses
21st Feb 2022, 6:43 AM
Anushka Dwivedi
I'm confused. why is there several courses for python? such as python core and python for beginners. which one is main course?
python
0 Vote
2 Réponses
20th Apr 2022, 12:58 PM
Hoda
Give and explain the output of the following? int main () { int i, n = 4; for (i = 0; i++<n; i++) cout<<i<<"i"; }
c++
loops
2 Votes
9 Réponses
20th Jun 2016, 3:12 PM
Rashad
Why this print New A New B if in the main only is instancing obj?
inheritance
java
0 Vote
1 Réponse
5th Jul 2017, 10:22 PM
Fomnlinx Chan
Can't we use 'void main()' as the main function as we do in c language?
c++
0 Vote
1 Réponse
19th Oct 2017, 2:55 AM
Matheesha Yapa
What is the main differences between all the html? And what make specifically html5 standout?
html/html5
0 Vote
1 Réponse
17th Jun 2017, 3:17 PM
Otumian Empire
What type of math should I learn if I want to be a data scientist using python as my main language?
dataScience
python
0 Vote
3 Réponses
15th Aug 2020, 1:20 AM
Miro
How to think logically in c++ and learn this language easily? What are main things I need to focus on?
c++
cout
1 Vote
4 Réponses
6th Jan 2017, 11:05 AM
Semal Sherathia
Why is it necessary to create automatic instance of main function? Can't we make its data members, an object variable?
insert
main
static
0 Vote
2 Réponses
24th May 2018, 2:45 AM
Komal Asthana
#include
c++
main
void
0 Vote
2 Réponses
2nd Sep 2022, 1:14 AM
Nelly G Maluth Lok
As far as i know the class containing the executable main function needs to be declared as public. Please do correct me if wrong
java
2 Votes
4 Réponses
26th Jul 2018, 12:16 PM
Shubhangi Gupta
Why does main have void return type, even though there are executable statements within? Is it due to the lack of the 'return'?
methods
0 Vote
4 Réponses
20th Jan 2021, 4:16 PM
Hillary Moneke
Why the computer program start from the main and not from the first line ?! Or from the #include<iostream>
c++
0 Vote
2 Réponses
2nd May 2019, 5:38 PM
naghm amer
I have written this code but when i run it it says it cannot find or load the main class
java
2 Votes
3 Réponses
4th Jul 2017, 4:19 PM
Daniel Kiuri Kimaru
Is it necessary to use function as a pointer while returning array from other function to main function in c?
arrays
functions
0 Vote
3 Réponses
22nd Jan 2019, 7:25 AM
Ankit Sharma
Combine the codes pieces such that the main function(where data entry is done)calls all other three function by name without
c++
0 Vote
2 Réponses
29th Oct 2021, 1:46 PM
Isack Mussa
Combine the codes pieces such that the main function (where data entryis done)calls all other three function name with paramete
c++
1 Vote
2 Réponses
29th Oct 2021, 6:01 PM
Isack Mussa
why we use sql there are so many option to store data what is the main fact we use sql dba
mysql
3 Votes
3 Réponses
15th May 2017, 11:30 AM
Pooja Mahana
Why do we write return in the end of main function, if there is no need of writing it?
functions
2 Votes
2 Réponses
26th Jan 2018, 9:43 AM
Ankit Duhan
mahima ur answer is here
c++
int
main
void
1 Vote
4 Réponses
18th Jul 2016, 11:23 AM
Abhishek Soni
Why is using variables from a class, (specified as public) in the main function risky ?
c++
0 Vote
2 Réponses
23rd Dec 2017, 10:30 PM
Dhar.m
What is the meaning of static in public static void main?
java
main
static
0 Vote
3 Réponses
22nd Mar 2017, 1:41 PM
pranjal kumar
Can we Return the value from the user defined function to main function without specifying with keyword?
c++
functions
keyword
question
return
1 Vote
1 Réponse
7th Feb 2019, 2:00 PM
Nitin Madas
To start career as a software developer, what are the main topic in "java" play vital role in corpate software developing side?
career
java
question
software
topics
2 Votes
4 Réponses
9th Aug 2017, 4:14 AM
MUTHUKUMAR MANIVANNAN
what is the output of this code? template<class t> void f(t){ static int I=0; cout<<I++; } int main (){ f(1); f(1.0); f(1); }
c++
2 Votes
5 Réponses
26th Jul 2016, 3:05 PM
Darsh Shah
Int Main() = void main(void) ?
c++
main
void
1 Vote
2 Réponses
21st Feb 2017, 6:28 PM
Viktor Medvedev
In this code the main method calls the Scanner first and then calls the x() method.How can I call the x() 1st and then Scanner?
java
3 Votes
2 Réponses
16th May 2019, 11:55 AM
benny deuel
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
23
24
25
...
29
Suivant >
Aujourd'hui en vedette
New code
1 Votes
Does anyone have the solution for this challenge?
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Solved# Survey data format in coding for data
1 Votes
Solved Ai generated practice the last question
0 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
Kernel in Jupyter
2 Votes
How to add unordered lists in HTML.
0 Votes
What is the use of .kt classes in the React Native project
0 Votes
I am beginner,This is will be right code?
0 Votes