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

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 11-16-2017, 01:28 AM   #1
sunled
Registered User
 
Join Date: Nov 2017
Posts: 3,816
What is the purpose of default constructor?

What is the purpose of default constructor?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
sunled is offline   Reply With Quote

Old 12-10-2017, 10:52 PM   #2
travelowebseo
Registered User
 
Join Date: Sep 2017
Posts: 201
If you don't explicitly define constructors in any class(base class/super class), the Java compiler will create a no-argument constructor for you in that respective class. ... ( Super(parameters) can never be called implicitly by the compiler. It has to be explicitly put in your code if one is required.)
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
travelowebseo is offline   Reply With Quote
Reply


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
Which type of website is good for SEO purpose? eventindelhi777 Search Engine Optimization 5 10-15-2017 03:50 AM
Creating Functions with Default Arguments chinmay.sahoo ASP 0 01-11-2017 04:22 AM
How to remove Android Default apps Rickyhose111 General Discussion 0 01-16-2015 01:18 AM
Purpose of blog commenting in creation of back link. acerstoreau Web Promotion 6 09-22-2014 08:57 PM
How to set up of custom html default error pages jennypretty Search Engine Optimization 1 01-03-2012 08:21 AM


All times are GMT -7. The time now is 06:11 AM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.