[ACCEPTED]-Difference between Private Sub, Function and Class-access-modifiers

Accepted answer
Score: 162

Private is a modifier than gives the scope 7 of the class, sub, or function.

A sub and 6 a function are both subroutines, or sections 5 of code that can be called in the program. The 4 difference between them is that a function 3 has a return value and a sub does not.

A 2 class is a group of codes that can include 1 subs, functions, and other stuff.

Score: 7

Sub is like a function but it doesnt returns 1 any values it just executes a proccess

Score: 0

Class is a Class, Sub and Function are 2 methods, private is an access modifier

now 1 check this link,

http://msdn.microsoft.com/en-us/library/ms973814.aspx

More Related questions