* Abstract and Interface in Java 1. Create an abstract class pen with methods write () and refill () as abstract methods 2. Use the pen class from Q1 to create a concrete class fountain pen with...


Plese solve this with Java program concept only. Plese answers according to the questions carefully. Thank you in advance.


* Abstract and Interface in Java<br>1. Create an abstract class pen with methods write () and refill () as<br>abstract methods<br>2. Use the pen class from Q1 to create a concrete class fountain pen with<br>additional method change Nib ()<br>3. Create a class monkey with jump ( ) and bite ( ) methods Create a<br>class human which inherits this monkey class and implements basic<br>animal interface with eat ( ) and sleep methods<br>4. Create a class telephone with ( ) , lift ( ) and disconnected ( ) methods<br>as abstract methods create another class smart telephone and<br>demonstrate polymorphism<br>5. Demonstrate polymorphism using monkey class from Q3<br>6. Create an interface TV remote and use it to inherit another interface<br>smart TV remote<br>7. Create a class TV which implements TV remote interface from Q6<br>

Extracted text: * Abstract and Interface in Java 1. Create an abstract class pen with methods write () and refill () as abstract methods 2. Use the pen class from Q1 to create a concrete class fountain pen with additional method change Nib () 3. Create a class monkey with jump ( ) and bite ( ) methods Create a class human which inherits this monkey class and implements basic animal interface with eat ( ) and sleep methods 4. Create a class telephone with ( ) , lift ( ) and disconnected ( ) methods as abstract methods create another class smart telephone and demonstrate polymorphism 5. Demonstrate polymorphism using monkey class from Q3 6. Create an interface TV remote and use it to inherit another interface smart TV remote 7. Create a class TV which implements TV remote interface from Q6

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here