Tutorial4us.com
Abstract Class in Java
AbstractClassin Java - Abstract classis declare withabstractkeyworditcontainsome defined
methodsandsome undefinedmethods.
Syntax to declare abstract class
abstract classclass_name
{
........
........
}
publicabstractclass GraphicDesign
{
// declare fields
// declare nonabstractmethods
abstract voiddraw();
}

Abstract class in java

  • 1.
    Tutorial4us.com Abstract Class inJava AbstractClassin Java - Abstract classis declare withabstractkeyworditcontainsome defined methodsandsome undefinedmethods. Syntax to declare abstract class abstract classclass_name { ........ ........ } publicabstractclass GraphicDesign { // declare fields // declare nonabstractmethods abstract voiddraw(); }