Useful tips for everyday
Where are abbreviations listed? Where do you put the list of abbreviations? The list of abbreviations should appear at the beginning of the document, just…
How do you give a code example? Overview It must run as intended. Code samples and snippets should be simple and brief. Follow coding best…
Should you call methods in a constructor? You shouldn’t: calling instance method in constructor is dangerous because the object is not yet fully initialized (this…
When would you not use a singleton pattern? The only situation in which you should consider a singleton is when having more than one instance…
Do you test private methods in a unit test? Yes, don’t Test private methods…. The idea of a unit test is to test the unit…
Which is the function of n real variables? A real-valued function of n real variables is a function that takes as input n real numbers,…
What is the point of abstract methods? The abstract methods merely define a contract that derived classes must implement. It’s is the way how you…
How are entity objects used in a domain? You use ADF entity objects to represent rows of a data source. ADF entity objects allow you…
How do I debug C++? To set the breakpoint, click in the gutter to the left of the doWork function call (or select the line…
What is Coffman condition? The Coffman conditions are given as follows − Mutual Exclusion. There should be a resource that can only be held by…