Abstract Class - Java Programming

Publicado em: 05 Outubro 2022
no canal de: Satish C J
1,356
24

Code can be downloaded from
https://codespindle.com/Java/Java_abs...

In this session we will take a look at Abstract Class and its properties in Java.

Note - An abstract method can have a non abstract static method as shown in the video but it cannot have an abstract static method like shown below. This does not work as you cannot call the static method using the class name, since shape.calculate_area is not defined.
class shape
{
abstract static void calculate_area(); //this statement will throw an error
}


Nesta página do site você pode assistir ao vídeo on-line Abstract Class - Java Programming duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Satish C J 05 Outubro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,356 vezes e gostou 24 espectadores. Boa visualização!