what is the difference between class and structure in C++?
Answer Posted / naveen tuteja
A structure can't contain the static ans constant variable
but a class can contain both.
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What are the components of marker interface?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is oops and its features?
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?
class type to basic type conversion
officer say me - i am offered to a smoking , then what can you say
What is basic concept of oop?
What is meant by multiple inheritance?
what is difference between class template and template class?
What is the problem with multiple inheritance?
What is polymorphism in oop example?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is the difference between a constructor and a destructor?
How do you explain polymorphism?
What is an interface in oop?