Answer:
Encapsulation:-It is the binding of the data and functions so that they works as one unit.
Inheritance:-When one class acquires the property of another class it is called inheritance.
Polymorphism :-It generally means more than one form
Explanation:
Encapsulation:- class is an example of encapsulation it can hold different data types and functions in a single container called class.
class Name{
public:
string first_name;
string last_name;
void Display()
{
cout<<first_name<<" "<<last_name<<endl;
}
};
Inheritance:-The property of a class acquiring the properties of another class is called inheritance.
Now we will inherit the above defined class.
class person: public Name
{
public:
char gender;
int age;
void Display()
{
cout<<first_name<<" "<<last_name<<gender<<age<<endl;
}
};
int main()
{
Name n;
person p;
n.Display();
p.Display();
}
Polymorphism- There are two types of polymorphism:-
1.Run time polymorphism=The values are decided at run time.
2.Compile time polymorphism=The values are decided at compile time.
Example:-In the above example we have function Display() in both the classes.This is an example of compile-time polymorphism. We are deciding at the time of compilation which display to use.
Answer:
the answer is C mri hope this helps
Explanation:
The stock market would behave very differently if people had easy access to that data.
Go to file. Then click new.
Answer:
HTTP stands for "Hyper Text Transfer Protocol" and is used for transferring readable documents across the internet. This matches the action "You visit a website"
POP3 stands for "Post Office Protocol 3" and is used for reading e-mail. This matches to the action "You check email in your inbox"
SMTP stands for "Simple Mail Transfer Protocol", and is used for sending email. This matches the action "You send an email to a friend".
FTP stands for "File Transfer Protocol", and is used for transferring files to and from other machines. This matches the action "You transfer a text document", although truthfully that description is so vague it actually matches all four of the given protocols.