Well, that is wrong. Single value accesses are O(1) amortized.
Also, Java is a lower level language but I don’t think simply programming in Java instead teaches you this. Either way, it’s the difference between learning how to write programs and learning computer science.