3 ms·
I got my bachelor's degree from a college where in one course we were supposed to learn Java. The teacher use to write the example code from the textbook onto t
by digamber_kamat 15y ago
I got my bachelor's degree from a college where in one course we were supposed to learn Java. The teacher use to write the example code from the textbook onto the board and then dictate short notes on concepts like "Inheritance" , "Encapsulation" etc. According to her Interfaces in Java existed because they enabled programmers to overcome the lack of multiple inheritance. You can implement as many interfaces as you want but you can inherit only one class. That was her argument. My college was ranked 60th best college in the country that year.