Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Inside the module what is the different of 'public class' vs 'public type' ? #98

Answered by saikatdas0790
ajismyid asked this question in Q&A
Discussion options

You must be logged in to vote

Type is just that, a type declaration.
class is a way for you to declare the structure of your object, and then you can instantiate as many instances of that class as you need

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ajismyid
Comment options

@professionalGithub99
Comment options

@ajismyid
Comment options

@paulyoung
Comment options

Answer selected by professionalGithub99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants