how do u initialize the constant variables
Answer Posted / bibin joy
class A
{
const int mConstVal ;
A():mConstVal (10)
{
}
}
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is debug class?what is trace class? What differences are between them? With examples.
What are objects in oop?
What is the diamond problem in inheritance?
how to get the oracle certification? send me the answer
Why is oop useful?
What is difference between abstraction and encapsulation?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is difference between multiple inheritance and multilevel inheritance?
What is difference between oop and pop?
What is difference between data abstraction and encapsulation?
What is class and example?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
How many human genes are polymorphic?
What is a class in oop?
write knight tour problem which is present in datastructure