↳
not sure why you brought in VM... has nothing to do with the question....
↳
This is one of the most dumb 18th century questions that can be asked. Threads are not same for a VM and the OS. Generally, a VM is allowed a single OS thread. Under such condition, more than one time slice is not possible by multithreading. Minder
↳
A constructor is the first method that is called when a class is instantiated. If there is a class hierachy then the constructor of the base class is called first. Minder
↳
I would like to work in the role for which I applied, and prove my expertise, with the hope that at some point in the future the company might consider how best my talents could be used. Minder
↳
I could not fully finish it
↳
Check whether the distance between the two center points P1 and P2 is less than the sum of radii of the circles. ||P1-P2|| <= r1 + r2 should be true. Minder
↳
The trick to this question is in handling data so large that the computer needs to truncate the less significant values. For example: 10e15 on a computer would probably be stored as 1.0 e 16. Precision for a float only extends to 6 numbers (if I remember correctly) so 1 000 000 000 000 001 (1.000000000000001 e 15) would be (1.00000 e 15). The algorithm should handle special cases like this or one should be aware of this when coding. Minder
↳
Obviously not very smart people behind such a technique.