Crack Query - Leadership Interview
Home
Google - Engineering Manager Interview Prep
System Design Preparation
Design Patterns
Object Oriented Designing
Thursday, 22 March 2012
Union can not participate in Inheritance
#include<iostream.h>
class A{
public:
int a;
};
//struct B:public A
union B:public A
{
void dis()
{
cout<<a<<endl;
}
};
int main()
{
B a;
a.dis();
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
AWS Data Pipeline Services
https://www.youtube.com/watch?v=tykcCf-Zz1M
Cache - System design notes
While considering using/building a cache for your systems, you need to consider Use of Cahce - Cache is mainly used to reduce the latency ...
Good Links
Follow this order for design interview prep: Connect to Arslan Ahmad on linked in, lot of good quick cheet sheets you get from Arslan on s...
Parking lot design
No comments:
Post a Comment