Which data type would you choose for storing currency values like Trading Prices? What’s your opinion about Float, Double, and BigDecimal?
When should we choose Array, ArrayList, and LinkedList over one another for a given Scenario and Why?
What is the difference between the Stack and Heap area of JVM Memory? What is stored inside a stack and what goes into a heap?
How Heap space is divided in Java. How does Garbage Collector cleans up the unused Objects? Why shouldn’t we use System.gc() command in production code?