subject

10) Identify the statement that will throw an error in the following code? class Student { public: void SetName(string studentName); void Display(); private: string name; char grade; int Grade(); }; void Student::Display() { grade = Grade(); … } int Student::Grade(){ … } void SetName(string studentName) { name = studentName; } int main() { Student stu1; stu1.Display(); … stu1.Grade(); } a. stu1.Grade(); b. stu1.Display(); c. int Student::Grade() d. void Student::Display() {

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
What do character formats do for your document's message? a.set the tone b.provide organization c.provide clarity d.set how texts align with documents
Answers: 2
question
Computers and Technology, 23.06.2019 01:20
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 1
question
Computers and Technology, 24.06.2019 23:00
Why is it preferable to code web pages in html format? a. to create more lines code b. to apply general formatting rules c. to display properly as search results in all browsers d. to add meaning to the document
Answers: 1
You know the right answer?
10) Identify the statement that will throw an error in the following code? class Student { public: v...
Questions
question
Social Studies, 13.02.2021 14:00
question
Mathematics, 13.02.2021 14:00
question
Mathematics, 13.02.2021 14:00
Questions on the website: 13722360