Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What Is The Default Data Types That python take as input & shows Output?
python
0 Votes
2 Answers
26th Mar 2017, 6:19 PM
Rakib
Can anyone explain me access modifiers - 'protected' and 'default?
access-modifiers
default
protected
4 Votes
1 Answer
20th Jan 2018, 3:12 PM
Sahib Gill
Define a class complex to represent complex number. The class should have constructor with 2 default parameters. More info in
c++
classes
operator-overloading
0 Votes
9 Answers
22nd Jan 2018, 6:36 AM
kalpesh Dharpure
What if we put default case first while testing conditions in switch case,without having break in any of the consecutive cases?
java
switch
3 Votes
2 Answers
4th Jul 2019, 3:24 PM
Shivam Singh
In C++, how will the compiler distinguish between overloaded functions and functions with default values for the arguments
c++
default_values
methods
overloaded
2 Votes
4 Answers
5th Feb 2017, 12:27 PM
Tasneem Mabrouk
Complete the code segment to call default constructor first and then any other constructor in the class.
classes
constructors
default
java
objects
program
0 Votes
1 Answer
29th Sep 2020, 7:18 PM
Atul Gautam
What is the default audio type of the first way of declaring a audio?
audio
html
0 Votes
1 Answer
28th Jul 2016, 3:22 PM
Akash Roy
Does default constructor gets called if a class with no data members in it, and why?
java
0 Votes
3 Answers
14th May 2017, 8:15 AM
.com
Random unwanted number printed.
argument
c++
default
functions
0 Votes
7 Answers
2nd Jun 2021, 6:05 AM
TeAiris Majors
Java - Access Modifiers
access-modifiers
default
java
protected
1 Vote
5 Answers
16th Jan 2018, 4:26 AM
Rubel Chowdhury
What will be the default values of all the elements of an array defined as an instance variable?
java
0 Votes
2 Answers
20th Mar 2020, 6:10 AM
Ali Murtuza Khan
what is the default value of start and end argument if step is negative in slice notation ?
python
slice_notation
1 Vote
3 Answers
13th Nov 2020, 4:59 PM
Ratnapal Shende
Lesson "Conditionals and Loops The switch Statement" 4/4
default
javascript
switch
0 Votes
2 Answers
2nd Jun 2018, 7:24 AM
S. Kaouche
Why are default values for constructors added in the header file and not the implementation file??
classes
1 Vote
2 Answers
27th Apr 2017, 5:36 PM
kwenaldo
How can I access the arguments of a callback function including default parameters without touching the implementation.
callback
mock
1 Vote
1 Answer
4th Jan 2022, 3:00 AM
جوردن آهو ماولی
The default case,you are making a game where the player select the directly level 1 easy, 2-medium3 hard you are given a program
c#
0 Votes
8 Answers
19th Nov 2022, 8:10 PM
Sandeep Kumar
Тест не пропускает с виду верный код
break
case
default
switch
0 Votes
6 Answers
20th Aug 2022, 7:15 AM
T Akvinski
Can we give attribute to the bullets displated by default with any other shape in an unordered list?
<ul>
html
lists
2 Votes
2 Answers
22nd Mar 2018, 5:46 AM
Amaan
How do i check which is the largest element in a function which takes default parameters?
c++
0 Votes
1 Answer
11th Sep 2020, 10:29 AM
eerv
Any defaults should be on the right side of any non default arguments?? I cant understand this!
functions
php
0 Votes
3 Answers
8th Jun 2017, 11:23 AM
Aravindhan Kathiravan
In pandas, how to align the data in center, by default it is left alligned?
panda
python3
0 Votes
1 Answer
3rd Sep 2018, 11:34 PM
chiju
Explain the output int main(){ int x=4,y=0; switch(--x) { case 3: y+=x; case 4 : y+=x; default : y++; break ;} printf("%d",y); }
control
statements
0 Votes
8 Answers
2nd Jun 2019, 9:34 AM
PRAVEEN R
Why does my switch case statement only execute the default case when i ask a user input for the expression?
javascript
switch
1 Vote
3 Answers
2nd Jul 2020, 6:33 AM
Ashwin Shrestha
May i know what code should i use if i want to default a string to a 0
java
1 Vote
3 Answers
7th Mar 2017, 1:15 PM
AlexL
Can we create a Dynamic Object in C++ if there weren't any default or overload constructors in the class
abstract-classes
c++
classes
code
cpp
dynamic
heap
objects
stack
static
1 Vote
2 Answers
23rd Sep 2020, 8:22 PM
Sachintha Wickramasinghe
I changed the code and distorted it to understand the interference of the parameters. Look at the code. I do not understand.
code
default
python
values
5 Votes
2 Answers
2nd Apr 2018, 2:36 PM
Vučko/Вучко/Vuchko
Can i access default access modifier in other package after importing that package and inheriting the desired class?
access-modifiers
default
java
1 Vote
2 Answers
6th Jun 2017, 3:07 AM
Mahesh Dudhnale
Is it possible that even if we pass arguments to the function but still we want to use default value only
c#
methods
5 Votes
3 Answers
17th Jan 2017, 12:22 PM
N.Neeharika Reddy
I am stuck in this code plz help me guys??
argument
c++
codecoach
default
2 Votes
2 Answers
10th Nov 2020, 10:27 AM
🤴🌹Cute Princess 🌹💐
Why the default arguments of overloaded functions are not considered by the c++ come by there as part of the parameter list?
arguments
c++
function
functions
overloading
parameter
5 Votes
4 Answers
3rd Feb 2017, 7:12 AM
Srikanth Srinivasan
Why default constructor is not running in this case and parameterised constructor is running,when instruction super (10) is
aman
kumar
0 Votes
3 Answers
3rd Aug 2017, 3:34 PM
Anum Anand
Why is output 17? it is calculated as follows: case 1( x= 3+3=6, case 3 (x=6+3=9), case 5 (x=9+3=12) , default (x=12+5=17)?
c++
0 Votes
5 Answers
26th Mar 2021, 8:59 PM
Тимур Завьялов
What's wrong with this code?? Is it necessary to set default value to each parameter, if we set any value default??
c++
function-arguments
functions
1 Vote
5 Answers
14th Jan 2017, 8:26 AM
Yashwant Kumar Sonkar
Have you heard about the mutable default trap in python? I´ve just passed through it successfully.
class
default
list
mutable
python
trap
0 Votes
1 Answer
17th Feb 2018, 6:03 AM
jreyes085
What will happen in case of using function overloading and default argument at the same time?
c++
0 Votes
1 Answer
2nd Aug 2016, 3:32 PM
Sarthak Agarwal
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
My base class has constructor and derive class has default constructor, but it can't compile. Can anyone give me a proper explan
base
c++
class
derive
inheritance
1 Vote
3 Answers
18th Oct 2019, 1:28 PM
#ArizmaAltair PATHAN
Kotlin Error
argument
default
error
kotlin
2 Votes
2 Answers
21st Apr 2022, 7:58 AM
Akash Agrawal
Why we need to call super() method in default constructor?? why we need to parent class constructor ?? why it is compulsory?
constructors
java
oop
1 Vote
5 Answers
9th Oct 2017, 9:20 AM
Ankit Singh Rawat
Assuming that both Class2 and class3 have default constructors, which is (are) valid in a client class?
#apcs
0 Votes
1 Answer
25th Apr 2019, 10:35 PM
IGOT7
2 questions
default
java
orphaned
question
variables
1 Vote
9 Answers
21st Dec 2017, 1:33 AM
jalen
Sum of an array : What is a exact behavior of the sum of an array, if sum is not defined?
arrays
c++
default
sum
0 Votes
4 Answers
5th Apr 2017, 5:22 AM
The413th
how can pictures and buttons be moved around like instead of it getting placed in default left, place it in the middle
css
html
js
1 Vote
3 Answers
29th Oct 2018, 12:34 PM
Half
So I'm guessing that the default statement doesn't require a break because it's already at the end of the switch statement?
c++
switch
0 Votes
4 Answers
23rd Mar 2016, 9:40 PM
Sara M
Is it not time that Sololearn makes "Most Recent" as the default sorting type in comments section instead of "Most Popular?"
comments
doubts
popular
questions
recent
1 Vote
3 Answers
11th Sep 2017, 5:11 PM
Ravindra Babu B
How does the following program output 66???
c++
default
function-arguments
functions
0 Votes
4 Answers
6th Oct 2016, 5:11 PM
Devansh Kaushik
How can you use the default value of an argument when it is declared before the other parameters?
c++
function-arguments
functions
0 Votes
2 Answers
31st May 2017, 1:56 AM
Pacha
Why can't we write default case at the begining in the switch loop? Is it compulsory to write it at end only?
c++
switch
2 Votes
3 Answers
16th Oct 2017, 4:13 PM
Manikanta
What's the difference between program or class have a default (constructors ) and the other have (specific constructors ) ?
constructors
java
1 Vote
2 Answers
29th Oct 2017, 2:01 AM
Mohamed Rhabiri
What is the default type of objects an ArrayList can hold when it is not specified on creation?
arraylist
beginner
java
0 Votes
1 Answer
4th Dec 2017, 6:04 PM
Stavroula Lekka
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
7
8
9
Next >
Hot today
X velocity
3 Votes
And... Who is the staff then?
3 Votes
Files not linking in C++
0 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
1 Votes
Img & web server or personal info
0 Votes
Why Pro?
1 Votes
How to achieve "Sololearner" achievement?
0 Votes
Problem with Javascript
0 Votes
Python IDE
0 Votes