I faced conflict to answer for the below Queries in interview,Please give knowledge in the below listed Queries:
1. I have a multi dimensional array. don’t know the number of dimensional it has. How to know the number of dimensions of multi dimensional array?
2. How to check whether randomization is successful or not without using assertions??
3. How to pick a element which is in queue from random index?
4. Write a program to choose elements randomly from queue.No element should be reputed until all elements are chosen. Queue may have elements repeated?
5. Explain how you debugged randomization failure?
6. I have a object of a class. I would like to print the class name. How to print the class name using object handle?
7. What is the need to implement explicitly a copy() method inside a transaction, when we can simple assign one object to other?
8. How to avoid the race condition between 2 program block?