Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java


Thread Tools Rate Thread Display Modes
Old 05-29-2018, 07:09 AM   #1
Registered User
Join Date: Apr 2018
Posts: 1,139
What is constructor?

Constructor is just like a method that is used to initialize the state of an object. It is invoked at the time of object creation.
ajaxdns is offline   Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you make a constructor final? sunled Java 0 05-23-2018 12:00 AM
Is constructor inherited? sunled Java 0 05-23-2018 12:00 AM
Does constructor return any value? sunled Java 0 05-23-2018 12:00 AM
What is constructor and destructor in java? Jessicca Programming General 1 04-11-2018 10:47 PM
Can we use a default constructor of a class even if an explicit constructor is define sunled Java 0 03-12-2018 04:41 AM

All times are GMT -7. The time now is 02:46 AM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.