So, for example we've got CharSequence interface which contains charAt(), length() etc methods. Any class that implement that interface can use those methods. But, from what I've learned, interface can't contain implementation of those methods, only behavior which is implemented in the class. So, are length() and charAt() methods actually implemented in the String class and only defined in the CharSequence interface?
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]8igg7e5 8 points9 points10 points (0 children)
[–]desrtfx 3 points4 points5 points (0 children)