Professional Documents
Culture Documents
Experiment 1.2
Student Name: Abhishek Mishra Branch: BE-CSE
UID: 21BCS4999 Section/Group: 703-A
Date of performance: 30-08-2022 Subject name: OOPs Using JAVA
Subject Code- 21CSH-218
AIM: We have to create another class that extends the abstract class.
Then you can create an instance of the new class.
Notice that setTitle method is abstract too and has no body. That
means you must implement the body of that method in the child
class.
OBJECTIVE:
Code-
String title;
abstract void setTitle(String s);
String getTitle()
{ return title;
}
title = s;
}}
public class A
{ public static void main(String []args)
Output –(Code)
DEPARTMENT OF
Flowchart –
DEPARTMENT OF