Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Fill in the blanks to declare a variable add 5 to it and print its value
help
meeeee
please
-2 Votes
3 Answers
14th Feb 2018, 6:35 PM
Zara
If we override start() method then custom thread will not created. Then why start() method not declare as final.
java
multithreading
0 Votes
3 Answers
30th May 2019, 5:21 PM
Ibney Ali
Fill the blanks to declare a variable add 5 to it and print its value (what is wrong here )
python
0 Votes
3 Answers
29th Mar 2020, 3:59 PM
Fabrice njodzeven
If I have an array that is declared and used in a for loop so the user input its value how can I declare new array which his
c++
0 Votes
13 Answers
14th May 2019, 7:06 AM
Manar Ksm
What is the NULL and RESOURCE data type used for and how do I declare it?
php
0 Votes
2 Answers
9th Dec 2016, 10:59 AM
Tukele Osareme C
Fill in the blank to declare a variable, add 5 to it and print its value.
python
-1 Vote
1 Answer
23rd May 2020, 5:52 AM
Mr. Ck6969
What is the command to declare a string data by human like cin>>a; but when a is a string?
c++
data-types
0 Votes
4 Answers
1st Aug 2016, 11:20 PM
Isembart
How to declare an encoding other than the default encoding UTF-8 in .py files in Windows os and Linux os ?
python3
1 Vote
3 Answers
30th Sep 2020, 12:58 PM
Crypto Genesis
A Python statement to declare a Dictionary named ClassRoll with Keys as 1, 2, 3 and corresponding values as 'Reena', 'Rak
python
-3 Votes
3 Answers
5th Oct 2020, 4:49 AM
Arpan Pradhan
Why do we need to declare pointer dataype with string while it has a hexadecimal integer??
c++
data-types
pointers
1 Vote
1 Answer
27th Jun 2017, 1:52 AM
Pramit@10
Fill in the blanks to declare a variable, add 5 to it and print its value.
understanding_code
-1 Vote
1 Answer
7th Nov 2018, 4:15 PM
Petar Shutkin
Can we declare local variables in static function if no then how can we use them in static void main?
static
1 Vote
2 Answers
21st Jun 2018, 9:13 AM
Mayur Bagul
What if I don't declare a Variable of a specific data type as static and try to access it from a static method say main()?
increment
static
0 Votes
9 Answers
1st Dec 2018, 1:50 PM
Subrata Karmakar
Using scanner class how to declare an array from getting user input. As well as getting capacity of array from input
arrays
java
0 Votes
4 Answers
25th Dec 2016, 6:23 PM
vaibhav deshmukh
Please help my with this little code:https: //code.sololearn.com/cmhXYMD0TJ6O/?ref=app . I want to declare an arr if it null.
arrays
conditions
declare
java
multiple
1 Vote
2 Answers
26th Nov 2017, 1:51 PM
jack
Let me know if i understand correctly, var is used to declare global variables and let/const to local?
javascript
variables
1 Vote
2 Answers
25th Aug 2017, 7:36 PM
Arthur Regis
do we require to declare that a particular variable is a var? Because, even without declaration the j.s. code runs
variables
0 Votes
4 Answers
10th Mar 2018, 2:56 AM
2+2=4
can i declare a boolean variable with the abbreviation T or F value (this letters equivalent to True or False)?
booleans
java
0 Votes
4 Answers
5th Jul 2016, 5:10 PM
Federico Rodriguez Hormaechea
can i declare the values of int array to variables like this?also what if i want to enter the values to specific positions
c++
1 Vote
6 Answers
19th May 2017, 7:14 AM
CoDEX
In Java , How can I declare an array of objects instanced from certain existing class ??
arrays
classes
java
objects
oop
0 Votes
1 Answer
28th Jul 2021, 10:44 PM
Mohamed Mamdouh
Which header file to include instead of conio to use getch ,clrscr functions and declare void main instead of int main?
cpp
3 Votes
2 Answers
9th Dec 2017, 4:07 AM
raveena kagne
Is it really important to declare a method as int type if it has two parametres of type int like: static int hi()
java
method
1 Vote
4 Answers
30th Mar 2018, 5:02 AM
Devansh Gupta
Fill in the blank to declare a pointer to the "st",where "st" is of type "student",then call printAge() via the pointer?
c++
question
-3 Votes
2 Answers
6th Jul 2020, 3:11 PM
Devarinti.Venumadav
Drag and drop from the options below to declare a class template ''Spunky''. <class T> Spunky { public: Spunky( x) {
c++
templates
-1 Vote
2 Answers
19th Apr 2019, 5:32 AM
Mayank Arya
What code do I need to use to declare a variable that is a mixture of characters and numbers?
c++
0 Votes
3 Answers
5th Feb 2017, 4:13 AM
Ritaj J.A
How do we declare a boolean variable?/*If you don't mind, please illustrate it to me with an example, i.e: code*/
variables
0 Votes
2 Answers
20th Aug 2019, 10:43 AM
66:101:110:74:97:109:105:110
Un código que declare la variable B y asigne valor a, y luego imprima su suma en la pantalla. A=15
variable
-2 Votes
3 Answers
20th Oct 2020, 11:33 PM
Luz Amador
I keep getting an extra prompt, how can I declare my variables inside of my for loop?
c++
for
loops
0 Votes
1 Answer
18th Sep 2017, 3:49 PM
Christopher Albert
Write a python program that declare 2 variables (num1 and num2) with values 105 and 35 respectively
him
-4 Votes
1 Answer
17th Sep 2022, 6:15 AM
Amber
Y would i ever want to declare a variable from heap than declaring in normal way(i dont what its called? :D)
c++
0 Votes
4 Answers
11th Oct 2017, 10:06 AM
suryapoojary
I don't know how to declare variable prw in line 21. I need a little help. I make it on my way.
c++
0 Votes
3 Answers
28th Aug 2020, 9:28 AM
TeaserCode
If i declare one data type and defined some value to it then can i use it with some other values also?
variables
0 Votes
3 Answers
3rd Oct 2019, 4:59 AM
Rishikesh Prasad Sinha
Why its 20 not 20.0.......since in the last problem the answer was in float...how to declare whether its an integer or float
python
0 Votes
3 Answers
8th Oct 2018, 4:02 PM
Jervis.J Vasanth
$ to declare variable in php & $ used as shortcut in JQuery, both in the same file, so the question is don't they get conflict?
jquery
php
1 Vote
4 Answers
1st Aug 2020, 5:58 PM
Shweta Mahajan
Can we declare a variable as static final and assign a value to it in the next line?
final
java
0 Votes
2 Answers
28th Jul 2016, 4:48 AM
Selva Kumar
Declare three (3) integer variables Firstnum, SecondNum and SumOfTwo Prompt the user to enter the first number (Firstnum) Prompt
helpme
pascal
0 Votes
1 Answer
18th Oct 2022, 2:36 PM
Guitche, Remuel M.
What is the difference between static method and static block in JAVA?Can we declare more than one static block for a Program?
block
java
methods
programming
static
3 Votes
2 Answers
23rd Aug 2017, 10:57 PM
Yash Raghava
Rearrange the code to declare two integer variables: a and b, print to the screen the division equation a/b. If b is equal to 0,
c++
exceptions
3 Votes
2 Answers
9th Mar 2017, 6:12 AM
Sunita Sharma
Do we need to declare a function if it is being used as a method in a class??
encapsulation
0 Votes
2 Answers
14th Mar 2018, 8:02 PM
Abcdefg
Why to declare the members of class as private, and to access, we go for the setters and getters, instead we can go for public.
access,
and
as
class
declare
members
of
private,
the
to
we
whyto
0 Votes
3 Answers
16th Nov 2021, 12:24 PM
swamy
Fill in the blanks to declare ''People's'' constructor, taking two parameters and initializing its private members: name and dat
c++
classes
-5 Votes
4 Answers
20th Apr 2020, 6:09 AM
malliga murugan
declare a variable that has the age of a person and print user's name as many times as the age in c program
c++
1 Vote
3 Answers
26th Aug 2021, 9:47 AM
Bashir Kabiru Haruna
I have a question in PHP. In two-dimension array, how to declare an array by assigning both numeric in row and column anddisplay
array
multi-dimension
numeric
php
1 Vote
3 Answers
12th May 2019, 3:24 PM
Avijit Bakshi
Declare a array of pointers to objects of class person?Allocate memeory to the objects using new and delete them using delete
assignment
-1 Vote
3 Answers
12th Apr 2018, 6:57 AM
Swaroop
if we will not declare how many elememt an array will story (int a[];)than it will hold unlimited value?
arrays
c++
1 Vote
1 Answer
26th Dec 2015, 4:06 AM
Akarsh
If you create an array and declare its size, can I then change the size later if I under estimate how big I need it?
arrays
java
0 Votes
4 Answers
12th Jun 2019, 9:31 AM
<htmlf>
what if i declare a parameter inside constructor which has private access specifier, would parameter also be private?
cpp
0 Votes
1 Answer
13th Aug 2018, 2:21 PM
Arush Joshi
Fill in the blanks to declare a case-sensitive constant called AGE and assign the value 28 to it.
dsss
-1 Vote
1 Answer
5th Jan 2021, 8:28 PM
Ismoiljon Jalilov
In array can I declare variable?if I wanna make a variable list or In array can I add characters?
adding
array
characters
variables
0 Votes
2 Answers
28th Aug 2017, 8:18 PM
Emrul Hasan Emon
Can you declare functions after the main () or it should be only be declared before main() so that it can be invoked
functions
1 Vote
2 Answers
3rd Jun 2019, 12:24 PM
Kapil xtio
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
9
10
11
12
Next >
Hot today
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
Kernel in Jupyter
2 Votes
Solved# Survey data format in coding for data
1 Votes
Why is it so hard to get a job as a junior dev? Or just wanting to do an internship.
1 Votes
I am beginner,This is will be right code?
0 Votes
📝CHALLENGE [ EASY ]👀: Python
1 Votes
Solution to solving this bugged problem
1 Votes
Solved #Relay race coding for unit 9 you are creating code for a relay race
0 Votes