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

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 02-24-2016, 12:56 AM   #1
Shivangi Panwar
Registered User
 
Join Date: Nov 2015
Posts: 127
What is the difference between an Inner Class and a Sub-Class?

What is the difference between an Inner Class and a Sub-Class?
__________________

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.
Shivangi Panwar is offline   Reply With Quote

Old 04-18-2016, 12:09 AM   #2
sudeepkhana
Registered User
 
Join Date: Jan 2016
Location: India
Posts: 1,258
Inner classes are in the same file, whereas subclasses in another file maybe in another package.
Inner classes have the methods they want whereas the subclasses have the methods of their parent class.
__________________

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.
sudeepkhana 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
The Difference Between ID and Class doccs us Graphic Design 13 03-28-2017 07:59 AM
Best Shared SEO Hosting Plans at Best Price with Best Features | RankFirstHosting.Com rf-harris Post your ad here 0 12-30-2015 06:31 AM
The Difference Between ID and Class JohnKumar Programming General 2 08-26-2014 09:11 PM


All times are GMT -7. The time now is 05:10 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.