When is a memory allocated to a class?

Answer Posted / anumohan

when instance of that class is created by creating object
to the class

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between procedural programming and oops?

559


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

699


Is enum a class?

607


What is data binding in oops?

588


What is a function in oop?

633






Why oops is important?

616


What is inheritance in simple words?

627


program for insertion ,deletion,sorting in double link list

2283


What are the 4 main oop principles?

685


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?

1409


What is encapsulation example?

551


What is an interface in oop?

595


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?

1583


What is difference between class and object with example?

564


How long to learn object oriented programming?

565