I SURE HOPE IT DOES (this is the best vibe if you dont get this you are an uncultured swine)
Answer:
False
Explanation:
The private member of a class is not accessible by using the Dot notation ,however the private member are those which are not accessible inside the class they are accessible outside the class .The public member are accessible inside the class so they are accessible by using the dot operator .
<u>Following are the example is given below in C++ Language </u>
#include<iostream> // header file
using namespace std;
class Rectangle
{
private:
double r; // private member
public:
double area()
{ return 3.14*r*r;
}
};
int main()
{
Rectangle r1;// creating the object
r1.r = 3.5;
double t= r1.area(); // calling
cout<<" Area is:"<<t;
return 0;
}
Output:
compile time error is generated
<u>The correct program to access the private member of class is given below </u>
#include<iostream> // header file
using namespace std;
class Rectangle
{
private:
double r; // private member
public:
double area()
{
r1=r;
double t2=3.14*r2*r2;
return(t2); // return the value
}
};
int main()
{
Rectangle r1;// creating the object
r1.r = 1.5;
double t= r1.area(); // calling
cout<<" Area is:"<<t;
return 0;
}
Therefore the given statement is False
Answer:
Same thing happening to me and several other people. At this point I wonder if there site is having troubles. I tried to email them but even that is not working.
Explanation:.
The RAM memory of a computer contains the volatile memory, which includes; Websites recently visited
<h3>Random Access Memory(RAM)</h3>
Random access memory (RAM) is defined as a computer's short-term memory that it utilizes to handle all active tasks and applications.
Now, no single program, file, game, or stream would work without a RAM. Thus, RAM is a temporary storage that goes away when we shut down the computer.
Examples of things that RAM store from the options given is only websites visited recently.
Read more about Random Access Memory at; brainly.com/question/86807
Answer:
D
Explanation:
A and B are not valid because you cannot use "=" as a comparator (you must use "==" or "===").
C is not valid because the expression after the conditional is not a statement (it uses "==" instead of "=")