Useful tips for everyday
How do you override equals method in Java? Can we override the equals() method in Java? To compare two objects the object class provides a…
Can I have multiple git repositories in one folder? If you are to work under two different repositories with different commit history, you may either,…
What is a block statement? A block statement, or compound statement, lets you group any number of data definitions, declarations, and statements into one statement.…
Why are higher Kinded types useful? Higher-kinded types are useful when we want to create a container that can hold any type of items; we…
Is asynchronous blocking? Asynchronous program: A program which uses Non blocking calls. It can have only 1 thread and still remain interactive. Synchronous means to…
How much time should I spend on unit tests? Typical time budgeted on writing unit tests is about 1 day for every feature that takes…
Should I use virtual inheritance? In my experience, virtual inheritance (as opposed to virtual methods) is almost never needed. In C++ it’s used to address…
Can interface exist without abstract method? Interface methods are by definition public and abstract, so you cannot have non-abstract methods in your interface. Can we…
Which is correct for if else ladder? The conditional expressions are evaluated from the top downward. As soon as a true condition is found, the…
What processor did the first Macintosh computer use? Motorola 68000 microprocessor The vertical processor case and 9″ monochrome screen were distinguishing features of all the…