What is the diffrence between Private(sub,Function,class)

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

    A sub and a function are both subroutines,or sections of code that can be called in the program.

    The difference between them is that a function may or may not return a value but sub does not return value.

    A class is a group of code that can include subs, functions, and other stuff that can be called any where in Solution .

    Function and class are same which is use that code do not write in many places.

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

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative