Answer:
Yes, overloading is one of the methods which are popular in programming language. Overloading basically refers to the same function but different signature called function overloading or method overloading. It is the ability to define the multiples method by using the single identifier.
The overloading is important because it has the ability to design the multiple method by using similar name. It also provide the high flexibility to the programmers to call the same method in the data. overloading basically provide the high clarity in the code.
Overloading is used to achieved the compile time polymorphism.
Following are program of function overloading in c++ are:
Class abc // creating class
{
public:
int p;
void fun() // function fun with no parameter/
{
cout<<” hello “;
}
void fun(int a) // function fun with parameter
{
p=a;
cout<<p;
}
};
int main() // main function
{
abc ob; // creating object
ob.fun();// print hello;
ob.fun(6);// print 6
return 0;
}
Explanation:
In this program the function fun() have same name but different signature in the main method we create the object of class abc i.e ob. ob.fun() this statement called the function with no parameter and ob.fun(6) this statement will called the function with integer parameter.
Answer:
B. having lunch with a friend
Explanation:
Lifelong learning can be defined as a continuous, self-motivated, and self-initiated learning activity that is typically focused on personal or professional development. Thus, it's a form of education that is undertaken throughout life with the sole aim of pursuing knowledge, competencies, and skills for either personal or professional growth and development, especially after acquiring a formal education.
Some examples of lifelong learning includes the following;
I. Reading a trade magazine.
II. Reviewing a textbook.
III. Studying an encyclopedia.
Answer:
The answer is C. 85
Explanation:
The int() function is usually used to turn a float, to an int<em>.</em> When you use the int() function, it just cuts of everything past the decimal. It doesn't round the float. Leaving you with the option C. 85
hope this helped you :D
Explanation:
the objective of ITIL service operations is to make sure that IT services are delivered effectively and efficiently. the service operation life cycle stage includes the fulfilling of user requests, resolving service failure fixing problems and also carrying out routine operational tasks
Answer:
I think u had forgot to mention the statements.