Answer Posted / suman blazta
Constructors are used to create and initialize objects of their class type.
Constructor is a special member function that takes the same name as the class name.The constructor is automatically named when an object is created. A constructor is named whenever an object is defined or dynamically allocated using the "new" operator.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How do you use compareto?
What is a dynamic array java?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
Does hashset allow duplicates in java?
What does n mean?
What is a programming object?
What is jvm? Why is java called the platform independent programming language?
What is the meaning of immutable regarding string?
What is the use of java?
How do you do math powers in java?
Which sorting is best in java?
What is meant by null and void?
What is a lock or purpose of locks in java?
What are constructors in java?
What super () does in java?