Latest Answer: a method signature includes every thing EXCEPT return type.for example int myTestFunction(cahr abc,int y) , here Signature means parameters with function name Excluding return Type ...
Size of a class which isclass C{ int i;char c;}int size is 4 and char is 1 but the size of class is coming 8, give the explanation for that?
Latest Answer: This is because, your machine is 32 bit( 4 byte). your structure has two variable, a int and a char. int is 4byte long, so no problem. but char is 1 byte long, and will occupy the other 3 byte for alignment. So the sizeof operator gives the total size ...
Latest Answer: Personally I find oops code can get very hard to read, even well written code. The problem is inheritance and polymorphism.The problem with inheritance is that if you want to figure out what a given method does, you have to search up the class hierarchy ...
Latest Answer: It isn't usually a difference in the language itself, but actually a difference in how the programming is done and documented. A procedural approach would be to get the thing coded and working, step by step, coding each step as you go, usually from ...
Latest Answer: abstract class ...
Latest Answer: The main use of oops is that1.code reusability2.program code reduction ...
What are the limitation of operator overloading.Plz explain which operators cannot be over loaded and why?
View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Go Top