Login
Remember
Register
CodersEditor Q&A
Online IDE
Questions
Unanswered
Tags
Users
Ask a Question
Programming Tutorials
Ask a Question
What are constructors in Java?
0
votes
asked
Jan 22, 2021
by
Annie
(
1.1k
points)
just type constructors
java
programming-languages
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 22, 2021
by
Inba
(
1.1k
points)
selected
Jan 22, 2021
by
Annie
Best answer
It is a special function used to initialize objects. It automatically gets executed when the object is created.
Please
log in
or
register
to add a comment.
Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.
239
questions
203
answers
2
comments
692
users
Related questions
What are wrapper classes in Java?
What are the differences between Heap and Stack Memory in Java?
Why pointers are not used in Java?
What is a copy constructor in Java?
What is inheritance in Java?
...