Write a program to declare a class person

Assignment Help Programming Languages
Reference no: EM13992873

Write a program to declare a class 'person' with members name, age and address. Derive a class employee from person having member salary and designation. Input the data for two employees and display it.

Reference no: EM13992873

Questions Cloud

How is balance sheet useful to investors : Which measurements currently reported in balance sheets are consistent with the physical capital maintenance concept? Give examples.
What happens when a class with parameterized : What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?
Which two are valid constructors for thread : Which two are valid constructors for Thread?1) Thread(Runnable r, String name)2) Thread()
The use of the break statement in a switch statement : The use of the break statement in a switch statement is[A].optional[B].compulsory
Write a program to declare a class person : Write a program to declare a class 'person' with members name, age and address. Derive a class employee from person having member salary and designation. Input the data for two employees and display it.
Explain what can go wrong in resource management on c++ : Explain What can go wrong in resource management on c++?
Network programming : From where does the template class derived from in network programming?(
What is the difference between a source file and an object : What is the difference between a source file and an object file?
The purpose of this experiment is to use the masm : The purpose of this experiment is to use the MASM assembler and linker to convert your 80x86 assembly language source files into executable code, such as .EXE and .COM files.

Reviews

Write a Review

Programming Languages Questions & Answers

  Develop a concentration game

Concentration, also known as Shinkei-suijaku, Memory, Pelmanism, Pexeso or simply Pairs, is a card game in which all of the cards are laid face down on a surface and two cards are flipped face up over each turn.

  Design recursive program to generate random blurbs

A Whoozit is the character 'x' followed by zero or more 'y's. A Whatzit is a 'q' followed by either a 'z' or a 'd', followed by a Whoozit. Design and implement a recursive program that generates random Blurbs in this alien language.

  Explain application architecture and process design

Explain the application architecture and process design.Create the physical data flow diagrams. Use Microsoft Visio to make examples of flow charts and data flow diagrams.

  Draw flowchart or write psuedocode to represent logic

Draw a flowchart or write psuedocode to represent the logic of a program that alllows the user to enter three values . The values rpesent hourly pay rate.

  Describe graphical user interfaces during operation

Describe some of graphical user interfaces (GUIs) and communications messages which happen during operation of a microwave.

  Write program using array to show fifo queue

Write program using any language which uses the array to demonstrate simple FIFO queue with 10 job entering the queue and 5 jobs removed from the queue by the server.

  Design the logic for application for company

Design logic for an application for company which wants a report containing a breakdown of payroll by department. Input includes each employee's last name, first name, department number.

  Utilizing the step-by-step mrp calculation process students

utilizing the step-by-step mrp calculation process students will solve the following mrp problem given product a is an

  Examine the boxplot

Examine the boxplot and briefly discuss the overall pattern of electricity usage for the households.

  Program to keep track of the seat availability of flight

A small airline company needs a program to keep track of the seat availability of its flights. Design the structure type FLIGHT to store a four-digit flight number.

  What is an abstract method

What is an abstract class? What is an abstract method

  Create command line based application for perfect hundred

Create a COMMAND LINE based application to play a game called Perfect Hundred. In this game, the user/player competes against the computer.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd