How InputStream, HashMap and ArrayList are internally implemented inside java? Actually this question was asked to one of my friend in n interview.
How InputStream , HashMap and ArrayList are internally implemented inside java? Actually this question
Share
HashMapandArrayListare concrete implementations, you can easily find their source code. But the reason for this question was different. Your friend was suppose to know what principles are behind the implementation, what data structures and algorithms. How they affect big O notation?Question about
InputStreamdoesn’t make much sense, it’s an abstract class. It has several implementations based on different back-ends.