Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
In what situation do you need to declare a static constructor in a non-static class
c#
2 Votes
2 Answers
28th Aug 2021, 5:14 AM
Tim
Why the set property not working.?how to declare it???!!!!!!!!....//when we change printing statmnts thn it'll correct🤓😅
java
setpriority
threads
0 Votes
4 Answers
11th Feb 2022, 2:08 PM
Nipun
fill in the blanks to declare a variable, add 5 to it and print its value. how??
python
-1 Vote
6 Answers
7th Sep 2016, 10:48 PM
MDD
Type in a code to declare variable b and assign a's value to b, and then print their sum to the screen.
c++
-2 Votes
9 Answers
1st Jul 2018, 12:54 PM
BIRUDARAJU SAIPRAKASH
Why the output is "Your grade is = 67" when i declare grade as 'int'?
java
2 Votes
2 Answers
15th Dec 2018, 8:08 AM
Nitin Gutte
How to prevent implicit type-conversion in PHP?
declare
implicit
php
strict_types
type-conversion
7 Votes
5 Answers
25th Aug 2018, 2:53 AM
Kurt Sicht
Hello fam! Please, when should i use a var, let, or const to declare variables in JavaScript?
javascript
variables
1 Vote
4 Answers
25th May 2020, 9:10 PM
Infinite
Can i get any error if i don't declare String args [] in main method
java
methods
0 Votes
3 Answers
3rd Dec 2019, 12:48 PM
Kagupati.Sampath Raja Raghupathi
Fill in the blanks to declare a constant num and an arrow function calc. num = 5; const calc = (x, y, z = num) {
javascript
-4 Votes
8 Answers
4th Apr 2019, 2:18 PM
Jonathan Rukangira
Fill in the blanks to declare a case-sensitive constant called AGE and assign the value 28 to it.
a
blanks
called
case-sensitive
constant
declare
fill
in
the
to
0 Votes
5 Answers
9th Sep 2019, 10:39 AM
Md Shoyeb Talukder
Fill in the blanks to declare a method and call it from Main with the argument 88:
a
and
blanks
call
declare
fill
in
method
the
to
0 Votes
2 Answers
25th Jan 2018, 7:10 AM
Alex Strada
My question is I declare my name and i see in output using string?
c#
output
1 Vote
3 Answers
20th Feb 2017, 6:33 PM
Abdullah al faruk Raju
In c++ how to declare variable of a type which can hold either integer or character?
c++
char
cin
declare
input
integer
1 Vote
3 Answers
14th Jul 2021, 6:22 PM
pavan
How to declare a array of strings whose size is not yet known in c++
arrays
c++
3 Votes
2 Answers
4th Aug 2017, 6:18 PM
Sabiya
Is it compulsory that we should declare variable type unlike in python language?
variables
0 Votes
1 Answer
27th Apr 2019, 9:07 AM
Fabian Uzukwu
can we declare a class within a class. if your answer is yes so tell me how?
classes
java
7 Votes
2 Answers
30th Aug 2017, 5:21 AM
P∆WAN M∆URY∆
Can any one say how to declare alphanumerical value to a variable in C.?
c
language
0 Votes
2 Answers
5th May 2020, 7:02 AM
Hanumanthu Lakshmana Rao
Why don't we declare main function prior to it's calling in c++ ?
c++
functions
2 Votes
1 Answer
26th Jul 2017, 5:06 AM
Milkha_Da_Techie
why declare at class computer able to run no error but error when put below class laptop?
java
oop
0 Votes
4 Answers
5th Nov 2020, 8:31 AM
mahsa
How to declare a integer array with the maximum size in C++?
array
c++
int
integer
maximum
size
0 Votes
1 Answer
21st Mar 2017, 2:36 AM
Shubham Yadav
Why do we need to declare a method with static and void?
java
methods
1 Vote
1 Answer
2nd Jan 2017, 5:57 AM
Mohd Kaleem Khan
How do I declare a variable with the name that is the value of another variable?
js
2 Votes
2 Answers
13th Jul 2021, 10:44 AM
Tanvir Salehin
How to declare sqrt ? As code is not running and telling error in sqrt
help
0 Votes
3 Answers
18th Nov 2022, 5:03 AM
Keshav Karn
Can anyone explain for me What is dynamic data type in C#? And How to declare a dynamic data type?
c#
code
help
2 Votes
6 Answers
31st Jul 2020, 9:08 AM
Ruqiya
How to declare and getting input from the user using two dimensional array in JavaScript?!?
arrays
0 Votes
3 Answers
29th Mar 2018, 8:19 AM
Code_Magician❤
Why a constructor is always declare as the public? But not as private or protected.
c++
1 Vote
3 Answers
26th Feb 2017, 5:13 PM
Abhishek Satpathy
in c++, is this possible to declare a structure inside a function or inside a class?
c++
0 Votes
3 Answers
6th Jun 2020, 3:32 PM
Samiullah Wardak
Rearrange the code to declare a method returning the greater of the two arguments. return a; } public int max(int a, int b) { }
java
methods
-1 Vote
5 Answers
4th Jul 2017, 7:38 AM
Walter Mugo
Can we declare the array's length first instead of directly input the data ?
arrays
code
php
0 Votes
3 Answers
7th Feb 2017, 11:37 PM
Joshua Natan
How to correct declare set of integers in one variable if you use sololearn compiler?
c++
0 Votes
2 Answers
25th Aug 2020, 7:04 AM
TeaserCode
What is the effect on my code if I declare the header files after main() in C or C++?
c
c++
1 Vote
9 Answers
6th Mar 2018, 6:16 PM
Arihant Jain
Is the purpose of Length to declare how many values(things) are in the course(the example)/category?
arrays
javascript
1 Vote
3 Answers
26th Jan 2017, 5:20 PM
Codie Richards
(Java) what happens when we declare an int and assign it a value which start with 0?
int
java
1 Vote
2 Answers
9th Oct 2019, 9:14 PM
Federico Riva
Can I declare a variable with a same name in two different functions?
c++
functions
0 Votes
2 Answers
10th Oct 2016, 5:24 AM
German Martinez
why did that display (0) even when i had not declare the b[9] variable?
arrays
c++
1 Vote
2 Answers
21st Dec 2017, 9:37 AM
SHASHANK SINGH
we have to declare Primary key in one particular column like id column???
sql
0 Votes
2 Answers
14th Feb 2017, 4:14 AM
sugumar
Is a globally declare function whose name is same as that of class can be a constructor in c++?
constructors
declare
globally
0 Votes
2 Answers
16th Feb 2017, 1:08 PM
Deepika Behera
Why do put prototypes in the class declaration and declare the methods outside the class?
classes
2 Votes
1 Answer
22nd Oct 2018, 6:04 PM
Thathsara Liyanage
How do I do this. Rearrange the code to declare a file object and an associated file ''myfile.txt''. Write ''I can work with fil
a
code
declare
do
file
how
i
rearrange
the
to
-5 Votes
11 Answers
4th Dec 2019, 12:45 AM
Paul PK11461
Fill in the blanks to declare avariable, add 5 to it and print itsvalue.
python
0 Votes
1 Answer
23rd Oct 2018, 7:59 AM
justrory
Fill the blanks spaces and declare a variable ,add 5 and print its value
python
0 Votes
1 Answer
28th Mar 2020, 4:18 AM
Fabrice njodzeven
Could someone tell me what do we mean when we declare a pointer like that:
c++
help
pointers
1 Vote
1 Answer
8th Apr 2018, 7:40 AM
RiGeL
why static keyword is necessary to declare a method? like static void circle()
java
methods
0 Votes
1 Answer
24th Sep 2016, 6:48 AM
Mahadev Chinchole
how will you declare a method by passing argument as 88 by function?
c#
methods
-2 Votes
2 Answers
1st Sep 2016, 2:33 PM
Akshay Kumar
What happens when you declare two dimensional array like this ... int arr[][]={{1,2,3},{2,1}};
arrays
1 Vote
1 Answer
31st Jan 2018, 2:17 PM
Mihir
Why cant i declare a static variable in a static function without final.
java
static
0 Votes
1 Answer
25th Mar 2017, 7:49 PM
pranjal kumar
So what attribute(s) do you use instead of *language*, or do you just declare the type?
attributes
0 Votes
2 Answers
31st May 2020, 3:35 PM
μεοω
fill in the blanks to declare a variable, add 5 to it and print its value
5
0 Votes
2 Answers
14th May 2023, 1:29 AM
Yanmary Reinay Solano Acosta
fill in the blanks to declare a class point with a constructor initializing its x & y members
a
blanks
class
declare
fill
in
point
the
to
with
0 Votes
3 Answers
4th Apr 2020, 3:38 AM
MARIO PEREZ SALAZAR
Pls someone should help with if i want declare a variable that is not a number. i.e a words.
else-statements
-1 Vote
7 Answers
23rd Jan 2021, 2:18 PM
abdulsamad adamu
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
7
8
9
...
12
Next >
Hot today
My codebits section is full of deleted codes
12 Votes
Why so many mathematical questions in challenges?
0 Votes
Where did mess up....
1 Votes
Ai generated practices
1 Votes
I have an error in a problem and I don't know what the correct answer is
1 Votes
Feedback on my portfolio
0 Votes
I need a siren sound
0 Votes
Yo this is madness
0 Votes
best language if i want to learn about AI
0 Votes
How can i insert files?
1 Votes