Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
primitive data types and wrapper objects(type conversion)
constructors
data-types
functions
javascript
objects
primitive
wrapper
2 Votes
11 Answers
14th Apr 2021, 7:16 PM
Mehran
Are there any uses for function constructors in javascript?
javascript
web
1 Vote
1 Answer
2nd Jul 2018, 8:00 AM
ADEBAYO DANIEL
Why constructors in java can't be static? Any explanation please?
constructors
java
static
1 Vote
4 Answers
4th Feb 2020, 11:59 AM
Hichem GOUIA
Guys what is the main function of constructors ?
java
0 Votes
5 Answers
4th Aug 2017, 8:44 PM
Hmmam Babe khuoja
Why exactly must constructors be declared in public ?
c++
constructors
4 Votes
2 Answers
15th Jul 2016, 6:07 PM
Priya R
Why would someone use two constructors in a C++ class?
c++
classes
constructors
templates
2 Votes
6 Answers
10th Jan 2017, 9:40 AM
Matt Knapman
What exactly are constructors needed for in java?
constructors
java
0 Votes
2 Answers
16th Nov 2018, 11:18 PM
onwuazombe tobechukwu
what are constructors and how and *when* to use it?
attributes
c
c++
code
codeplayground
constructers
constructors
ruby
sololearn
6 Votes
2 Answers
22nd Feb 2018, 9:34 AM
Jay Jay
How to invoke all parents classes constructors in python ?
classes
constructors
cpython
inheritance
objects
oop
python3
3 Votes
2 Answers
23rd Nov 2020, 3:46 PM
Samip Karki
Why constructors cannot be abstract or static or final?
java
1 Vote
2 Answers
3rd Jan 2019, 8:29 AM
Nitin Gutte
Can we have more than one constructors in a class?
c++
class
construcot
object
objects
oops
1 Vote
3 Answers
9th Dec 2016, 6:03 PM
Mock
Is Constructors is one kind of function only?
c++
constructors
0 Votes
1 Answer
31st Jul 2016, 6:51 AM
Pradeep Mishra
Parent constructors are not called implicitly if the subclass defines a constructor.
classes
objects
0 Votes
7 Answers
15th Dec 2019, 8:26 AM
Riya
How the constructors and destructors are used in real time applications?
c++
constructors
destructors
4 Votes
4 Answers
12th Jan 2017, 6:33 AM
Anvesh
I'm not able to understand Constructors and DOM in JavaScript
constructors
dom
javascript
0 Votes
2 Answers
20th Nov 2018, 5:52 PM
Abhijeet Satogiya
I don’t understand the point of an object with destructors and constructors
constructor
destructor
object
1 Vote
5 Answers
12th May 2018, 5:53 PM
Daniel
What is the best way to understand JavaScript constructors ??
constructors
javascript
0 Votes
1 Answer
17th Feb 2020, 12:13 PM
ABK85
Why are constructors and deconstructors so essential for you personally in C++?
#c++
#cpp
3 Votes
4 Answers
19th Nov 2019, 8:43 AM
Max_Mnemo
Is the default constructor remains common for the superclass and the subclass?
constructors
inheritance
java
2 Votes
12 Answers
22nd Apr 2021, 1:15 PM
Atul [Inactive]
Is constructors used for only Initialization? consider this code
constructors
java
0 Votes
2 Answers
27th Jan 2017, 9:56 AM
Saisesh nag
What is the importance of constructors and destructors and what do they do?
c++
constructors
destructors
2 Votes
7 Answers
31st Jul 2016, 10:24 PM
jigoku_tenshi
Error while initializing a field (of base class) through constructors of derived classes.
c++
inheritance
initialization
multiple-inheritance
4 Votes
1 Answer
27th Mar 2019, 9:22 AM
777
can someone explain what arw constructors and what is its use
c++
constructors
0 Votes
3 Answers
1st Jul 2017, 3:26 AM
Anonymous Guy
Can i get a proper expalantion about constructors in java??
constructors
explain
java
sololearn
0 Votes
2 Answers
8th Mar 2017, 6:22 PM
0000
What is the difference between default constructors and parameterized type of constructors?
c++
1 Vote
3 Answers
16th Jul 2017, 4:32 AM
Sai Yerni Akhil
Can we have private constructors in c++? If yes, what is the use of it?
c++
constructors
private
10 Votes
4 Answers
4th Jul 2017, 1:34 AM
Hariharasubramanian
In OO languages, what is the advantage of using factory methods and private constructors to create objects?
advantage
constructor
factory
method
oo
private
6 Votes
8 Answers
15th Dec 2019, 11:13 PM
Sonic
Why do we use (this->) when assigning values to properties in c++ classes using constructors
c++
classes
9 Votes
2 Answers
22nd Jan 2018, 3:56 PM
Sanoj Silva
Can constructors be declared private in java? If yes what is the use?
constructors
java
3 Votes
3 Answers
7th May 2017, 6:04 AM
Parth Prashar
Is a constructor part of a class or part of an object?
constructors
2 Votes
13 Answers
3rd Jan 2019, 11:18 PM
Dominik Wolf
Why isn't the "this" keyword necessary in constructors while it is in regular methods?
constructors
methods
oop
0 Votes
2 Answers
24th Mar 2023, 2:59 PM
AlexFr
What is the use of Constructor
constructors
9 Votes
8 Answers
14th May 2019, 9:20 AM
Ytbarek Gebre
What could be in one class contains two constructors or more?
constructors
java
0 Votes
2 Answers
13th Nov 2016, 6:51 AM
Edbert andoyo
Why a private constructor?
constructors
5 Votes
6 Answers
5th Jun 2019, 5:48 AM
Paolo De Nictolis
Guys can someone clearly explain for me classes and constructors in kotlin
kotlin
0 Votes
1 Answer
12th Aug 2022, 8:09 PM
Ayebazibwe Morris
How do I add initialization, copy and non-argument constructors to this code?
c++
cpp
0 Votes
2 Answers
23rd May 2020, 11:42 AM
PUFFIN Channel
Write a code in java for (function and constructor overloading) that should elaborate the concept.How they are created and used.
constructors
java
overloading
1 Vote
5 Answers
15th Apr 2021, 9:39 AM
Haider Ali Waris
hiw to pass constructors from one windows form fo another windows form
c#
variables
0 Votes
2 Answers
31st Aug 2016, 4:35 PM
sanath kumar
What does the use of constructors?
constructors
7 Votes
2 Answers
14th May 2020, 7:42 AM
Sinde Jaya Lavanya
Why are constructors allowed in an abstract classes if it cannot be instantiated?
abstract-classes
c#
constructors
oop
1 Vote
1 Answer
14th Jul 2019, 12:25 PM
Rohan Rao
Why do Java constructors need to have the same name as the class?
constructors
java
methods
0 Votes
3 Answers
25th Jul 2017, 5:15 AM
Paul Silvestri
Is there a way I can avoid using constructors and destructors but still doing the same function
destructors
1 Vote
6 Answers
24th Apr 2019, 8:48 AM
Earnmore Blessing Kutsiwa
Why we use dynamic constructor in c++?
c++
constructors
3 Votes
2 Answers
20th Apr 2021, 6:38 AM
𝖆𝖙.𝖚𝕷
I am very new in computer language can this app help to learn basic of very every language to coding system
constructors
4 Votes
3 Answers
13th Jun 2018, 12:45 PM
Abhay Singh
Why are constructors needed in java when we have methods..I see the advantage that we don't need to evoke it, but still why?desc
constructors
java
this
1 Vote
18 Answers
21st Mar 2020, 8:55 PM
chaitanya mahaprabhu
I have read from many books, still cant correctly seem to understand the constructor concept and its use
constructors
1 Vote
8 Answers
4th Apr 2019, 12:56 PM
Gayatri Palkar
Why i have to create 2 myclass constructors to use the operator overloading?
operator-overloading
0 Votes
1 Answer
16th Dec 2018, 8:03 PM
Daniel
It's starting to become very confusing🤔🤯
constructors
3 Votes
3 Answers
12th Jan 2021, 3:32 PM
sofia badri
Can anyone explain me the Dynamic Initialization of Objects?its regarding constructors and destructors?
c++
constructors
0 Votes
1 Answer
19th Aug 2017, 12:23 AM
Mayank Sharma
What is the diff between implicit and explicit call in constructor??
constructors
0 Votes
1 Answer
9th Feb 2017, 2:58 AM
Pratik Sharma
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
4
...
14
Next >
Hot today
X velocity
0 Votes
Files not linking in C++
0 Votes
I am a super beginner
0 Votes
And... Who is the staff then?
1 Votes
I want to make a triangle area calculator ,anybody can teach me
2 Votes
Web Dev
0 Votes
Img & web server or personal info
0 Votes
Pls give me an idea
1 Votes
How this program executes?
0 Votes
How to achieve "Sololearner" achievement?
0 Votes