Explain java heap space and garbage collection?
What is generic type?
What is a reflection package?
What is literal example?
What is an example of a conditional statement?
Which class represents the socket that both the client and server use to communicate with each other?
What is vector?
What is a flag and how does it work?
What are different types of references?
What is string literal in java?
How do you define a set in java?
What is split return?
If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?