Transformer #11
Labels
Fundamentals
Topic - OOP Fundamentals like Polymorphism, Inheritance, Encapsulation Abstraction etc
Very Easy
Difficulty Level - Very Easy
Overview
Your friend Boltu is new to a software company. The company works with android applications. Your friend is assigned to make a program where the same button will perform several tasks in an application. As you are an OOP guru he came to you to help him in the problem. He promised that he will give you a treat in a famous restaurant. Can you help him?
Example
A power button can do both switch on and off operations.
Assumptions
As the application is under development, The same button may be assigned for more than two operations in the near future.
Task
Implement the code for which Boltu came to you.
Reminders
The text was updated successfully, but these errors were encountered: