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
the variable filename2 is only assigned to the last file in the directory.I want to loop through each file in the directory.
java
7 Votes
1 Réponse
29th Apr 2019, 7:51 PM
Baba Yunus Abdul Yekin
Sometime programmer name variable like this "mBtnLogin" and sometime "btnLogin" what s does mean ?.
code
java
learn
style
0 Vote
3 Réponses
18th Mar 2017, 8:05 PM
Mahmood Ali
How do I write my age is n years,n is a variable having a value. I am getting errors
python
2 Votes
5 Réponses
16th Jan 2017, 3:25 PM
Akshay
Do you have to have "int Variable = #;" in int main() or can it be outside of the {}'s?
int
integer
main
variable
0 Vote
3 Réponses
6th Nov 2020, 11:32 PM
amaIeltayib
Verify input C++
c++
input
variable
verify
1 Vote
4 Réponses
23rd Dec 2016, 6:34 AM
Gașpar Nicolae
If character values are stored as int why cant we hold character variable address in int pointer
c++
0 Vote
2 Réponses
27th Mar 2021, 11:17 AM
MUDIT JAIN
I want to find the highest model of a variable in my data set
analytics
psp
0 Vote
1 Réponse
4th Sep 2024, 8:53 AM
Favour Chinecherem
We declared the variable as float and then gave integer value to it so why didn't that show any error..
c
c++
cpp
halp
3 Votes
3 Réponses
23rd Jan 2021, 5:27 AM
Janvi Desai
How to store a user define value asked in a function in a variable which is outside of the function ??
python
0 Vote
6 Réponses
28th Sep 2020, 5:45 AM
Chris Evans
There subscripts of an array can be integer constants, integer variable or expression
arrays
1 Vote
1 Réponse
19th Feb 2018, 7:39 PM
Sam
public class Main { public static void main(String[] args) { //correct variable declarations int name = "J
can
don'tknow
help
i
me
todo
what
who
0 Vote
2 Réponses
21st Nov 2020, 1:58 AM
John Hale
public class Program { public static void main(String[] args) { //fix the variable types string name =
0
error
line
0 Vote
2 Réponses
25th Jul 2022, 6:12 PM
30 Nidhi Kumari 10B
Isnt the rule that 'you can change a variable type' risky in the coding system?
python
variables
0 Vote
3 Réponses
2nd Jan 2017, 3:08 PM
yue wu
Hello everybody! How would you swap the value of two variables without use any other variable in Java?
code
java
variables
0 Vote
3 Réponses
22nd Sep 2020, 4:48 PM
Omar Medrano Sarabia
Hi can someone explain what's wrong with this code I'm getting an error by insurance variable
error
0 Vote
1 Réponse
7th May 2022, 8:56 PM
Harry Bryant
Sir please can I use the data input by the user in form as a value of a variable
forms
html5
0 Vote
4 Réponses
17th May 2018, 3:07 AM
praveen
How do you get an input from the user and store it in a variable in java?
java
0 Vote
3 Réponses
13th May 2018, 5:02 PM
ValarTyrin
How to do for asking the user to enter a variable and print it in PYTHON ?
python
0 Vote
3 Réponses
4th Dec 2018, 8:17 PM
abderrahmane
Can I set an variable to a value in my class, and declare it in int main?
c++
variables
0 Vote
3 Réponses
23rd Jun 2019, 1:15 PM
Mythical Coding
at c language , How do i enter more than one value for the same variable so that it depends on the last value
c
c++
0 Vote
8 Réponses
15th Sep 2019, 9:10 PM
Hesham Aamer
Need help fully understanding variables
datatype
identifier
new
variable
variables
1 Vote
7 Réponses
26th Mar 2019, 3:59 AM
Clara Bahoya
How come newNode object in insert method is having different heap addresses while the newNode reference variable is same ?
python3
0 Vote
5 Réponses
4th Jul 2020, 8:27 PM
Parth Lashkari
When we declare a variable private then why Java dont allow it to access from outside the class?
java
0 Vote
3 Réponses
29th Apr 2020, 5:30 PM
parag sahu
Is it possible to convert a string literal to a string object variable that holds a value in python?
python3
0 Vote
3 Réponses
12th Nov 2019, 7:46 PM
Krishnakumar Venkatraman
How can I activate page-refresh (reload) and pass 1 variable to fresh page
javascript
reload
return
web
0 Vote
1 Réponse
11th Feb 2017, 2:08 PM
Wolfgang Kubik
What will happen if i have declared math.h & then assigning variable names?
c++
variables
0 Vote
1 Réponse
4th Aug 2016, 3:42 AM
Lakshay sharma
to use variable from class to another class have to me use instance
c#
java
0 Vote
1 Réponse
9th Jan 2018, 4:33 PM
ALAMOUDI, WAEL MAKKI S
How can I change a static element in array using variable in JS?
javascript
0 Vote
1 Réponse
28th May 2019, 10:12 AM
Roberto Sevilla Varela
What is the value of a instance variable when we have 2 objects.
java
1 Vote
1 Réponse
20th Mar 2017, 1:18 PM
Narender Yadav
class is a datatype and object is a variable isn't it ? ..
c#
c++
java
1 Vote
1 Réponse
16th Jul 2017, 3:04 PM
Master Gaurav
If we define a variable like "int Size". how we get the value?
classes
java
1 Vote
1 Réponse
2nd Jun 2017, 6:28 AM
Dinesh Kesawamoorthy
What is the point of assigning a variable to a parameter in OOP?
constructors
javascript
object
oop
oriented
programming
this
variables
0 Vote
1 Réponse
5th Jun 2017, 12:18 PM
Pablo Weber
how would you seperate a three digit string variable into three different variables?
c++
1 Vote
1 Réponse
23rd Jul 2017, 2:26 PM
Ebenezer
Why cant i declare a static variable in a static function without final.
java
static
0 Vote
1 Réponse
25th Mar 2017, 7:49 PM
pranjal kumar
Please tell me why it is saying variable declaration is not allowed here but it is running in the actual compiler
error
java
sololearn
2 Votes
3 Réponses
16th Oct 2022, 3:39 AM
五条悟 ♡
If you can add up the value of variable a pointer points to like i did in the code , then why can't you add the addresses
pointers
1 Vote
14 Réponses
13th Sep 2018, 4:29 PM
Aditya Prasad
Why is this code throwing an error "local variable addition defined in enclosing scope should be final or effectievely final".
android
java
1 Vote
4 Réponses
12th Nov 2020, 8:25 AM
Mons Joseph
What is the difference between initialising a variable below a class and initialising below main method in java ?
compiler
java
jdk
0 Vote
4 Réponses
3rd Jan 2020, 5:22 AM
Asharaf K
error: variable answer might not have been initialized }while(answer == "Y"); \\ the error pointed at >a. HELP
java
1 Vote
3 Réponses
19th May 2021, 7:38 PM
Owen Ong
What is the difference between declaring a variable x with x=5 and assigning int *ptr= new int; *ptr=5?
c++
pointers
1 Vote
4 Réponses
26th Aug 2017, 1:47 PM
Ironrobot
When We declare a variable why do we get different value if we add 0's in the beginning?
javascript
variables
4 Votes
2 Réponses
9th Dec 2016, 3:10 PM
Anindya
So...unless the post and pre increment operators used are assigned to a seperate variable they are same?
operators
0 Vote
4 Réponses
5th Jan 2018, 11:34 AM
Harshini Panuganti
Can we assign symbols such as comma"," , slash"/", dot".", etc. to a char variable
c++
char
variables
0 Vote
2 Réponses
3rd Nov 2020, 12:13 PM
Bharadwaaja Kanakadandi
This make python great.
python
python3
sololearn
swapping
variable
7 Votes
3 Réponses
7th Mar 2018, 1:24 PM
Maninder $ingh
How to create a empty variable in python like int var; in C i want to create variables hour and minute of int type .
c
python
6 Votes
3 Réponses
14th Jun 2020, 8:07 PM
Varun N
[Solved] What is the correct terminology here? (by reference vs by value vs by object reference) (py)
argument
parameter
python
terminology
value
variable
3 Votes
6 Réponses
23rd Sep 2022, 12:33 AM
Korkunç el Gato
Fill in the blanks to enter five numbers from the user and print their sum. Store the sum in the variable named total.
blanks
enter
fill
five
from
in
numbers
the
to
user
0 Vote
4 Réponses
24th Aug 2017, 10:43 AM
Abdulhamid Babar
What situation would make you delete a variable and what would make you reassign dt same variable?
variables
0 Vote
3 Réponses
15th Apr 2018, 8:43 AM
Robert Olubukunmi
Why we place setName() function in a public sector.. we can simply make variable public??
access
access-modifiers
access-specifer
c++
help
private
public
1 Vote
1 Réponse
15th Jul 2019, 12:40 AM
Nouman Bin Sami
trying out palindrome in java : 1) I cant get it right. 2) variable c isn't incrementing . Can someone help me out.
java
palindrome
wtfislocalvariable
0 Vote
10 Réponses
10th Jul 2017, 5:51 AM
Joseph Nithish
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
38
39
40
...
49
Suivant >
Aujourd'hui en vedette
In this code, I want to make exactly another div right next to it in div, how to edit it?
3 Votes
Regarding course
1 Votes
Python input() function is strange (a bug or a feature?)
2 Votes
what is python
0 Votes
Naming Variables
0 Votes
Can anyone explain what java and Python is used for
0 Votes
Chess Tournament Exercise Doesn’t Work
0 Votes
Best way to learn
0 Votes
Android
0 Votes
JavaScript concept of "toggle" while doing nav Bar
0 Votes