Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Why do we need to use view?
sql
views
1 Vote
2 Answers
23rd Mar 2016, 5:53 PM
Mohammed Alghazzawi
Why would you use class in Html to define italics when you could just use <I> ?
css
font
0 Votes
4 Answers
22nd Mar 2016, 11:52 AM
Menelik Simpson
why we use AS?
sql
0 Votes
2 Answers
21st Mar 2016, 10:07 AM
naman gupta
Why do we have to return always 0 in case the return type of the main() is int. What will happen if we return some integer other than 0?
c++
functions
1 Vote
5 Answers
16th Mar 2016, 9:29 PM
Rahul Singh
Can anybody tell me why the below doesn't work in the code playground part of this app please?
functions
javascript
2 Votes
7 Answers
16th Mar 2016, 1:12 PM
Malachi Jones
Can you explain the setter? I know it's supposed to "set", but I don't know what each piece means and why is it in the class?
classes
java
1 Vote
2 Answers
12th Mar 2016, 4:37 PM
also trebeck
Why I must implement hashCode() when overriding equals ()?
equals
java
0 Votes
4 Answers
10th Mar 2016, 3:09 PM
🇧🇷 Caio Amaral
After printing "Breaking" why doesn't it print the value of (i) even though in the code it is written print(i)?
loops
python
0 Votes
3 Answers
2nd Mar 2016, 2:47 AM
Dave
= is used to present variable.'Equal to' by '===' Why is 'equal to' presented with only two '=='?
else-statements
if-statements
javascript
1 Vote
7 Answers
29th Feb 2016, 5:40 PM
Toni
Why is it so that even without using return 0, the program runs? What's the actual use of return 0
c++
0 Votes
4 Answers
28th Feb 2016, 5:19 AM
Ritwik Madhukalya
Why we use SET instead of using array?? , it says both are same but i feel set a little bit uncomfortable? is there any idea of using SET? I want to know some cool fact about using set?
sets
swift
8 Votes
4 Answers
25th Feb 2016, 11:38 AM
Madhab Dhakal
Why cant i run this code in playground?
if-statements
python
1 Vote
4 Answers
21st Feb 2016, 6:04 AM
Prabin Parajuli
Why should one choose python instead of java or c++?
c++
java
python
0 Votes
2 Answers
20th Feb 2016, 4:22 PM
Mohammadamin Beiruti
Why the print statements after return won't execute plz explain
functions
python
0 Votes
3 Answers
19th Feb 2016, 6:46 PM
Ajay Pranav
Why do we use overriding in our code?
java
polymorphism
0 Votes
2 Answers
19th Feb 2016, 10:12 AM
Mohammed Alghazzawi
Like why do we need to construct a constructor pls can anyone help
javascript
objects
0 Votes
1 Answer
17th Feb 2016, 10:31 AM
chandrika kadam
Why we should use the &obj specification for declaration of the operator function?let's use the myObj*
c++
operator-overloading
0 Votes
1 Answer
16th Feb 2016, 12:53 PM
Emanuel Lozitsky
Is there any major reason why we should use LİMİT when retrieving records?
sql
1 Vote
2 Answers
15th Feb 2016, 8:49 PM
Kevin Kiambe
What's the true purpose of generators? Why not use lists and range function instead?
generators
python
0 Votes
2 Answers
15th Feb 2016, 10:28 AM
Diego Chinellato
Why is it necessary to close the file?
files
python
1 Vote
4 Answers
13th Feb 2016, 3:50 PM
Nicolás Tomatis
Why use elif if you can use if and get same result?
else-statements
python
0 Votes
4 Answers
11th Feb 2016, 9:08 PM
Luis Daniel Oliveira
Why would you want \n in your output?
python
strings
0 Votes
2 Answers
8th Feb 2016, 10:05 PM
Elena
Why main class should always be static?
java
static
3 Votes
4 Answers
8th Feb 2016, 9:22 PM
Khurshid wali
Why #include <iostream> instead of #include<stdio.h>?
c++
0 Votes
2 Answers
7th Feb 2016, 1:05 PM
ali khan
Why is the output of this code "no"?
operator-precedence
python
1 Vote
4 Answers
6th Feb 2016, 8:04 PM
Muhseen I. Abdullah
Can anyone explain why I need to create a constructor at all when I can just make an regular object and do the same things?
constructors
java
0 Votes
2 Answers
4th Feb 2016, 2:11 PM
Syed Ruman
Why would someone want to set the display of an element to none?
css
display
1 Vote
2 Answers
3rd Feb 2016, 5:26 PM
Stefan Farier
Why would you include a "normal" or "none" value into your css, since it changes nothing?
css
text
2 Votes
2 Answers
31st Jan 2016, 1:47 PM
Romy van der Kolk
Could someone explain me please, why is useful a pointer to a class' object, if I can simply use the name of the object in the class?
c++
classes
pointers
1 Vote
4 Answers
30th Jan 2016, 4:33 PM
Matias Beraldo Fernandez
Why IDs cannot use more than once on a page?
css
selectors
2 Votes
3 Answers
30th Jan 2016, 10:12 AM
Nuwan Thisara
Why is it List<integer> list = new ArrayList();? shouldnt the first one be ArrayList instead of List?
java
lists
0 Votes
4 Answers
28th Jan 2016, 10:19 PM
Branko Nešić
Why is there a semicolon and the braces after " Machine m1 = new Machine()" ?
anonymous-classes
java
0 Votes
2 Answers
27th Jan 2016, 3:04 PM
Dalia Ahmed
Why 9 >= 9.0? Anyone tell me why?
booleans
python
1 Vote
5 Answers
26th Jan 2016, 12:29 AM
zhihuai
Any particular reason why you wouldn't just keep everything public?
access-modifiers
java
1 Vote
6 Answers
22nd Jan 2016, 10:38 PM
Hamza
Why should i type public before constructor? can i create a constructor without public?
constructors
java
0 Votes
2 Answers
14th Jan 2016, 12:04 PM
JulietLove
I don't understand the function of the min and max-width. Why do I have to use them when I can just specify the width?
css
height
width
3 Votes
4 Answers
14th Jan 2016, 9:26 AM
Samuel Blessed Woniowei
Why would you need to use the not operator?
c++
operators
0 Votes
2 Answers
7th Jan 2016, 6:12 AM
Jackson
Can someone please explain me why the "-1" in this line "max_index = len(words) - 1"
loops
python
3 Votes
2 Answers
3rd Jan 2016, 11:49 PM
Diogo Vilaça
If a template type can take any data type, why would we need multiple template types? Why not just make one template type and use it for everything?
c++
templates
2 Votes
1 Answer
3rd Jan 2016, 6:26 PM
Taylor Street
If a pointer is supposed to be passed, why is the friend function's argument (MyClass &obj), not (MyClass *obj) ?
c++
classes
friend
2 Votes
3 Answers
3rd Jan 2016, 2:01 PM
Tesik
hi guys can anyone tell me what is the use of namespace with an example and why only namespace std not namespace cout and how I know which type of namespace s are used writing an program?
c++
2 Votes
3 Answers
1st Jan 2016, 1:53 AM
sivasaiprakash
Why would İ prefer to use a variable rather than a constant?
c++
constants
0 Votes
6 Answers
29th Dec 2015, 6:25 PM
Kevin Kiambe
numbers = list(range(3, 8)) print(numbers) >>> [3, 4, 5, 6, 7] ... Why is 8 not included there if its a part of the range, yet 3 is included in there?
python
range
5 Votes
5 Answers
27th Dec 2015, 12:18 AM
Jorge Montiel
Why use primary key?
sql
0 Votes
3 Answers
25th Dec 2015, 9:57 AM
Dileep kumar
Why would you need to use multiple "<<" in one cout line?
c++
cout
0 Votes
4 Answers
24th Dec 2015, 8:45 PM
Jason Elkins
I can't understand, why do sin(x) and tan(x) return wrong values when I put Math.PI as x. It shows 1,22 for sin and -1,22 for tan, when it should be 0 in both cases?
javascript
math
1 Vote
3 Answers
24th Dec 2015, 12:51 AM
astar95
"7" + 1 should be 71 Why Python occur an exception?
exceptions
python
1 Vote
7 Answers
17th Dec 2015, 12:35 PM
Mahmud Al Hakim
Why the ans is just three?
if-statements
python
4 Votes
11 Answers
17th Dec 2015, 5:02 AM
raj karnik
Why recursion does not occur, when I assign a value to a property within its own didSet observe?
properties
swift
2 Votes
1 Answer
16th Dec 2015, 12:46 PM
Lilit d'Khachatryan
Why do people never use PHP anymore?
php
0 Votes
3 Answers
15th Dec 2015, 5:35 PM
CakeWut
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
449
450
451
Next >
Hot today
Javascript
3 Votes
I Had Solve My Own Way But I See Others Method which I had added as Comented code I don't Understand Working Can You explain me?
2 Votes
What i do?in html intermediate level i dont like.
2 Votes
How to get mentor in solo learn.any mentor who response my activity🥹
1 Votes
web application with java, spring boot
1 Votes
Fitting
0 Votes
Why text takes time to load
1 Votes
What is late happening in late binding
1 Votes
Digital currency
1 Votes
I had an issue, I have PRO version, but not unlimited lives.
1 Votes