Bloomberg L.P.

  www.bloomberg.com
Work in HR? Unlock Free Profile

Bloomberg L.P. 2013 Financial Software Engineer Interview Question

I interviewed in New York, NY and was asked:
"class A{ void foo(); } class B{void foo1(); } class C {void foo1(); } Design like below: B.foo1() can access A.foo(), but C.foo1() can not access A.foo()"
Add Tags [?]
Answer

Part of a 2013 Financial Software Engineer Interview Review - one of 1,785 Bloomberg L.P. Interview Reviews

Answers & Comments

0
of 0
votes

class A{ protected: void foo();}
class B : class A{ foo1();}

- Interview Candidate on Apr 23, 2013
0
of 0
votes

class A { private: void foo(); friend class B;};
class B { void foo1(); }
class C { void foo1{};

- Xiaoge Su on Jul 15, 2013

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.