Java – Abstract classes & methods

Java – Abstract classes & methods

Abstract class is a class where its implementation is incomplete or non-existent. Abstract class cannot be instantiated but can be extended. A subclass that implements an abstract class can be instantiated. Abstract class is similar to interface but also have some differences. Both cannot be instantiated and both can contain methods without implementation. The differences are: a class can extend only one class but can implement many interfaces separating them with “,” An abstract class can define fields that are not static nor final. An interface all fields must be…

Java – Abstract classes & methods Read More

HTML – Global & non-global attributes

HTML – Global & non-global attributes

Global attributes are the attributes that can be applied to all the tags, like id, class, lang, title etc. You can see the full list here. Non-global attributes are the attributes that applied only to a specific tag, like src, alt, href etc. Here you can see the full list. Short post but with two links with all the attributes, global and non-global. THE END!!! HTML – Global & non-global attributes

HTML – Global & non-global attributes Read More