Login
Remember
Register
Questions
Hot!
Unanswered
Categories
Ask a Question
Trivia Quiz
Download Books
Donate
Ask a Question
What is a constructor in programming
+1
vote
186
views
asked
Dec 18, 2021
in
Programming Languages & Algorithms
by
(user.guest)
Your answer
Help us make this a great place for discussion by always working to provide accurate answers.
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
Write 2 in words
To avoid this verification in future, please
log in
or
register
.
1
Answer
+1
vote
answered
Dec 18, 2021
by
(user.guest)
selected
Dec 18, 2021
by
(user.guest)
Best answer
In object oriented programming, a constructor is special type of subroutine or inbuilt function used in creating an object of a class.
Example: we have a class Dog
Constructor : Dog = new Dog();
Your comment on this answer:
Improve the existing answer with your comment.
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
+1
vote
1
answer
195
views
What is a pointer in programming
asked
Dec 18, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
170
views
What is the difference between a constructor and a method
asked
Dec 18, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
277
views
What are the steps in choosing a Programming Language?
asked
Oct 18, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
151
views
What is an object in programming
asked
Dec 15, 2021
in
Programming Languages & Algorithms
by
(user.guest)
0
votes
1
answer
208
views
What is inheritance in object-oriented programming?
asked
Nov 15, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
803
views
What is Writability in Programming?
asked
May 23, 2021
in
Programming Languages & Algorithms
by
anonymous
+2
votes
1
answer
568
views
What is meant by semantic gap in the context of programming languages?
asked
Sep 5, 2020
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
1.3k
views
What common programming language statement, in your opinion, is most detrimental to readability?
asked
Oct 6, 2019
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
318
views
What is constructor overloading. Explain with the help suitable example?
asked
Aug 27, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
207
views
What is a programming language?
asked
Sep 16, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
685
views
Analyze Kruskal’s algorithm and explain its application in data structures and algorithms. Write a program to implement Kruskal’s algorithms using a high-level programming language.
asked
Aug 27, 2020
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
171
views
In java programming, what operator has the highest precedence
asked
Dec 18, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
144
views
In java programming, what are the types of access modifiers we have
asked
Dec 18, 2021
in
Programming Languages & Algorithms
by
(user.guest)
0
votes
1
answer
153
views
What are functions & methods in programming? Explain with examples
asked
Nov 14, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
183
views
What are the types of constructor we have
asked
Dec 18, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
6.7k
views
What are the Characteristics of a Programming Language?
asked
Sep 8, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
1.7k
views
What arguments can you make FOR the idea of a single language for all programming domains? "For" the idea, not the against!
asked
Oct 6, 2019
in
Programming Languages & Algorithms
by
anonymous
0
votes
1
answer
71
views
A binary tree T has 20 leaves. What is the number of nodes in T having two children?
asked
May 3
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
128
views
What is a stream in java
asked
Dec 15, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+2
votes
1
answer
441
views
What is an object in a JavaScript context
asked
Feb 10, 2020
in
Programming Languages & Algorithms
by
anonymous
+2
votes
1
answer
687
views
What is a lexical environment in Javascript?
asked
Feb 10, 2020
in
Programming Languages & Algorithms
by
anonymous
+2
votes
1
answer
447
views
What is a Syntax Parser in Javascript
asked
Feb 10, 2020
in
Programming Languages & Algorithms
by
anonymous
+2
votes
1
answer
173
views
What is meant by pair programming in Software engineering
asked
Sep 14, 2021
in
Software Engineering
by
anonymous
0
votes
1
answer
301
views
Explain with examples, the concept of Abstraction in programming
asked
Nov 14, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
247
views
Generate a Table of the existing Programming Langues giving (Name, Author(s), Year, Contribution, Category)
asked
Nov 2, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
198
views
What are the pillars of object oriented programming
asked
Nov 12, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
211
views
What are the various applications of c programming?
asked
Sep 7, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
5.1k
views
What are the three fundamental features of an object-oriented programming language?
asked
Oct 6, 2019
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
120
views
How interface is similar to a class in Java ?
asked
Sep 1, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
2.2k
views
What are the advantages in implementing a language with a pure interpreter?
asked
Oct 6, 2019
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
1.5k
views
What are the disadvantages of having too many features in a language?
asked
Oct 6, 2019
in
Programming Languages & Algorithms
by
anonymous
0
votes
1
answer
134
views
To implement Dijkstra’s shortest path algorithm on unweighted graphs so that it runs in linear time, what is the data structure to be used?
asked
May 3
in
Programming Languages & Algorithms
by
(user.guest)
+3
votes
1
answer
406
views
What is the difference between raw_input() and input() in Python
asked
Sep 12, 2020
in
Programming Languages & Algorithms
by
anonymous
+2
votes
1
answer
1.4k
views
What is the Global Execution Context in Javascript
asked
Feb 10, 2020
in
Programming Languages & Algorithms
by
anonymous
+2
votes
1
answer
322
views
What is meant by function invocation in JavaScript
asked
Feb 10, 2020
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
473
views
What is the difference between 'Undefined' and 'Not defined' in JavaScript
asked
Feb 10, 2020
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
453
views
What is pdc-dss? Explain in detail all controls! What is
asked
Sep 9, 2019
in
Programming Languages & Algorithms
by
anonymous
+2
votes
1
answer
1.3k
views
Specify, design, and implement a software tool that will compute the cyclomatic complexity for the C/C++ programming language. Use the graph matrix as the operative data structure in your design.
asked
Jun 23, 2020
in
Software Engineering
by
anonymous
0
votes
1
answer
41
views
What is a class?
asked
May 3
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
89
views
What is a framework?
asked
Feb 14
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
148
views
What is a string class
asked
Dec 15, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
129
views
What is a singleton class
asked
Dec 15, 2021
in
Programming Languages & Algorithms
by
(user.guest)
0
votes
1
answer
1.3k
views
What is a computer algorithm? Explain with examples
asked
Nov 10, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
191
views
What is the difference between a parameter and an argument
asked
Nov 8, 2021
in
Programming Languages & Algorithms
by
(user.guest)
0
votes
1
answer
186
views
What is the process of inserting an element into a stack
asked
Oct 25, 2021
in
Programming Languages & Algorithms
by
(user.guest)
0
votes
1
answer
203
views
What is a circular linked list?
asked
Oct 25, 2021
in
Programming Languages & Algorithms
by
(user.guest)
+1
vote
1
answer
162
views
What is The State of a Program?
asked
Oct 18, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
522
views
What is the difference between a page and a segment?
asked
Mar 9, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
573
views
What is a switch statement and how does it differ from a multy-way "if and then else" structure?
asked
Feb 17, 2021
in
Programming Languages & Algorithms
by
anonymous
+1
vote
1
answer
356
views
JavaScript is a single threaded and synchronous execution language. What does this mean
asked
Feb 10, 2020
in
Programming Languages & Algorithms
by
anonymous
Welcome to
CPEN
Talk
.com
Solution-oriented students of
computer engineering
on one platform to get you that
ONE SOLUTION
...