Why do we use polymorphism in oops?
Whats is abstraction in oops?
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What type of Job you are providing?
Why do we use encapsulation in oops?
What does I oop mean?
How would you stop a class from class from being derived or inherited.
How do you achieve runtime polymorphism?
Can we have a private constructor ?
12 Answers HSBC, Ness Technologies, TCS, Wipro,
What is encapsulation in ict?
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
Why do we use class?