adspace
Answer Posted / Ravi Rawat
Yes, constructors in Core Java are special methods that are used to create and initialize objects. Unlike regular methods, constructors do not have a return type (not even void), and their name must be the same as the class they belong to.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between equals() and == in java?
Is minecraft 1.15 out?
What is a classloader in java?
What is parsing in java?
What is a constructor overloading in java?
Differentiate between static and non-static methods in java.
Write a program to print count of empty strings in java 8?
What are the differences between heap and stack memory in java?
Explain public static void main(string args[]) in java.
What is an object in java and how is it created?
What do you mean by an interface in java?
What is the difference between break and continue statements?
Write a program to find the whether a number is an Armstrong number or not?
Realized?
How to sort array in descending order in java?