Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i havent through the question please can you let me know which one is the right option wanna see if im right or wrong ,

i havent through the question please can you let me know which one is the right option wanna see if im right or wrong , no need to give much information just want the right asnwer to see if im wrong or righ image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
The followino test proorar is ased with these classes: What ait the butput bel Select ne: a. 20410 8. There it in corpite ire srier e. 42580 a. 44460 e. 45000 inapect thein. The be instrinployet eab is relatiefy hanic and is inibing tome evinitie checat. Which of the filicwing stould be asded? Select one or more: 3. Chech tr nember of natf earende 100 b. Delele denienit objects tr prebent. a. Tel veer a they perrade ifraial ingal 11:59 Employee \#ifndef EMPLOYEE_H \#define EMPLOYEE_H \#include \&string> using namespace std; class Employee \{ protected: string name; int salary; public: virtual Demployee(); void setiname(string); virtual void setSalary(); string getName(); int getSalary(); virtual void giveRaise(); \}; \#endif Sales \#include "Sales, h Sales::Sales(string dept) \{ this dept = dept; string Sales:agetDept() \{ return dept; void Sales::setSalary() \{ salary = 50000; \} void Sales: :giveRaise() \{ salary =1.1; Done 12:00 \#ifndef SALES_H \#define SALESH \#include "Employee.h" class Sales: public Employee \{ private: string dept; public: Sales(string); string getDept(); void setsalary(); void giveRaise(); \}; \#endif Technician \#include "Technician.h" Technician::Technician(string lab) \{ this lab = lab; string Technician: :getLab() \{ return lab; void Technician;:setSalary() \{ salary = 40000; void Technician: giveRaise() \{ salary *= 1.05; \} \#ifndef TECHNICIAN_H \#define TECHNICIAN_H \#include "Employee.h" class Technician: public Employee \{ private: string lab; public: Technician(string); string getLab(); void setSalary(); void giveRaise(); \}i

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions