On the national level, Norwell is a part of Massachusetts's 9th congressional district, and is currently represented by Bill Keating. The state's senior (Class II) member of the United States Senate, elected in 2013, is Ed Markey.
As it happens sin() and cos() are also functions. A function has another property: all calls to a function with the same parameters, should return the same result. A method, on the other hand, is a function that is related to an object in an object-oriented language. It has one implicit parameter: the object being acted upon (and it's state).
active oldest votes. up vote 85 down vote. 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 has a return value and a sub does not.A class is a group of code that can include subs, functions, and other stuff. share | improve this answer.he difference between them is that a function has a return value and a sub does not. A class is a group of code that can include subs, functions, and other stuff.