![]() Related Questions Latest Answer : there is no way to process an entire string.it has to be done char by char ... Can we call constructor of superclass directly without using super()method in subclass? if yes,explain,if no,why? How could I, in C++ declare a class point. The class point has two private data members x and y of type float. The class point has a parameterized constructor to initialize both the data members i.e. x and y. The class point has a member function display() that display the value of x and y. Create two objects p1 and p2 with your desired data and display the values of x and y of p1 and p2. Now create a third object p3 by using the expression p3=p1+p2 and display the values of x and y of p3. Read Answers (1) | Asked by : attique 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 ... Read Answers (2) | Asked by : chirag Latest Answer : Encapsulation means data hiding+abstraction. In data hiding we will not allow our data to go out directly. Eg. Declaring data members as private is data hiding, where as abstraction means hiding internal implementation is called abstraction. ... Read Answers (4) | Asked by : musaib Tags : Abstract
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||