What is the difference between quicksort & mergesort? When should they be used? What is their running time?
1145Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
1381
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
Explain how can you debug the Java code?
Explain numeric promotion?
What is string made of?
Is the empty set a singleton?
What is the escape character in java?
give an example for encapsulation?
Implement two stacks using a single array.
What is indexof in java?
Explain the significance of class loaders in bootstrap?
What is boolean example?
How many types of gc are there in java?
What are the 2 types of java programs?
Can you run java program without main method?
Why is singleton not thread safe?