+ 1

In java android i d'ont understand what is @override and what is the abstract

16th Sep 2018, 1:46 PM
Hamza Adaoud
Hamza Adaoud - avatar
2 ответов
0
@override keyword is used to signify that function you're about to write is being overridden, i.e, its default implementation is being replaced by one that'll be written by you. Abstract in case of functions signify that the function has no default implementation and hence must be implemented by the programmer. In class is abstract of it contains at least one abstract function. You really need to look up inheritance, for more details
16th Sep 2018, 4:31 PM
vatsal uppal