Answer Posted / sanjith
Actually,
*Class is a collection of general declarations for data members and member functions ,that means it doesnot hold any memory.
*when we give certain values to a class ,objects are created.
that means a memory is allocated when objects are created.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is variable example?
What is oops in simple words?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What does no cap mean?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Can we define a class within the interface?
What is class and object with example?
Are polymorphisms mutations?
What is difference between inheritance and polymorphism?
Why is static class not inherited?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
How can you overcome the diamond problem in inheritance?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
write a programe to calculate the simple intrest and compund intrest using by function overlading
officer say me - i am offered to a smoking , then what can you say