What is purpose of inheritance?
No Answer is Posted For this Question
Be the First to Post Answer
Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.
program in c++ that can either 2 integers or 2 floating point numbers and output the smallest number
Can private class be inherited?
Why we are use # in begning of programme of c++.
Which method cannot be overridden?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<<k; } //please comment on the output
what is virtual function?
1. Define a class.
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What are the 3 pillars of oop?
What is Virtual Keyword?