0% found this document useful (0 votes)
35 views1 page

Java Abstract Class Example Program

The document describes an abstract class called Language with an abstract method display, and a subclass ABC that extends Language and calls the display method, printing 'This is Java Programming'.

Uploaded by

Siddhesh Haryan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views1 page

Java Abstract Class Example Program

The document describes an abstract class called Language with an abstract method display, and a subclass ABC that extends Language and calls the display method, printing 'This is Java Programming'.

Uploaded by

Siddhesh Haryan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Practical No.06 : Program on Abstract class and Abstract Methods.

Program :

abstract class Language


{
public void display()
{
[Link]("This is Java Programming");
}
}
class ABC extends Language
{
public static void main(String[] args) {
ABC obj = new ABC();
[Link]();
}
}

Output :

You might also like