The answer is final. <span>It is common practice to use a final variable as a size declarator. static, reference, final, boolean. </span>Final variables are often declared with the static keyword in Java and are treated as constants. <span>Once a </span>final variable<span> has been assigned, it always contains the same value.</span>
Answer:
/Question.h
#include<iostream>
#include<string>
using namespace std;
class Question
{
private:
string question;
string answer[4];
unsigned int correctAnswer;
public:
Question(string ques,string *ans,unsigned int x)
{
int i;
question.assign(ques);
for(i=0;i<4;i++)
{
answer[i]=ans[i];
}
correctAnswer=x;
}
~Question()
{
}
string getQuestion()
{
return question;
}
unsigned int getCorrectAnswer()
{
return correctAnswer;
}
string getAnswer1()
{
return answer[0];
}string getAnswer2()
{
return answer[1];
}
string getAnswer3()
{
return answer[2];
}string getAnswer4()
{
return answer[3];
}
int getNoOfPossibleAnswers()
{
return 4;
}
};
Explanation:
The Question class represents one question and the possible answers for that question.
The Question class contains the question text and the 4 possible answers. It also contains the answer number of the correct answer.
The answer number is an unsigned int in the range of 1 to 4.Your Question class needs to have one or more constructors and one destructor.
It needs a member function that returns the question text. It also needs member functions that return the answer text for a specific answer
(1 through 4). The class also needs a member function that returns the number of possible answers for this question. While this is 4 today,
it could change in future versions of the class. Finally there needs to be a member function that returns the answer number of the correct answer
(a value of 1 through 4).Do not make the data members public. You can have public and private member functions as needed.
Answer:
have you told anyone about it? like a teacher or something?
Explanation:
I think it's just a glitch
Answer:
Hot-add
Explanation:
The computer system is a electronic device that is used to perform computational task on input data for a pre-dertermined result. The components of the computer is divided into hardware and software components.
The hardware components are the physical parts of the computer system, while the software component are the instructions that runs the system.
The RAM is a physical component that provides memory for running current activities on the monitor screen. When it is removed or faulty, the screen goes blank. To add more RAM memory to the system while the system is on, activate the hot-add memory settings.
Answer:
Option (A) i.e., Chargeback is the correct answer to the following question.
Explanation:
In the cloud-computing, Chargebacks is used for the metrics on the e-mail box which is used by the departments or the organizations, by this system, department budgets has been billed for the costs of entertain the department e-mails. It is applied on the expenses of the IT sectors or services for the strategies of the accounting.
Option B is incorrect because billback it is an application that are used in organization for needs to determining the resources of IT.
Option C is incorrect because Showback is the policy that is used by the IT for rise the expenses.