Opt In (Do Not Edit Here)

Showing posts with label Classes. Show all posts
Showing posts with label Classes. Show all posts

Jul 22, 2011

Difference between Classes & Modules

Parameters for Comparison

Classes

Modules

Scope of Members

Only upto Lifetime of Object

Until Lifetime of Program

Instantiation

Can be Instantiated

Never be Instantiated

Inheritance

It Supports

It do not supports

Interface Implementation

YES

NO

Declaration

Anywhere in the Program

Only inside a Namespace

All Rights Reserved. 2014 Copyright SIMPLITONA

Powered By Blogger | Published By Gooyaabi Templates Designed By : BloggerMotion

Top