Answer Posted / anh vu
A static function member can be used to provide utility
functions to a class. For example, with a class representing
calendar dates, a function that tells whether a given year
is a leap year might best be represented as a static
function (DateTime.IsLeapYear). The function is related to
the operation of the class but doesn't operate on particular
object instances (actual calendar dates) of the class.
Is This Answer Correct ? | 15 Yes | 8 No |
Post New Answer View All Answers
Write about the role of c++ in the tradeoff of safety vs. Usability?
Distinguish between a # include and #define.
Explain rtti.
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
What's c++ used for?
what is data encapsulation in C++?
What is the difference between structures and unions?
Which c++ compiler is best?
What is array in c++ pdf?
Mention the ways in which parameterized can be invoked.
Is c++ free?
Explain overriding.
the first character in the variable name must be an a) special symbol b) number c) alphabet
What is the header file for setw?
Is map thread safe c++?