Should you protect the global data in threads? Why or why
not?
Answer Posted / srini
Global datas needs to be protected in threads since threads
share address space with each other.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is the highest level of cohesion?
Why do we use oops?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
Explain the concepts involved in Object Oriented programming.
How is polymorphism achieved?
What is solid in oops?
Can we have inheritance without polymorphism?
How Do you Code Composition and Aggregation in C++ ?
What are different oops concepts?
What is class encapsulation?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is balance factor?
What are the components of marker interface?
What is encapsulation example?
explain sub-type and sub class? atleast u have differ it into 4 points?