I would like for you to create a 2 classes. One class should be called "Author" and the other should be called "Book".
Upon instantiation of "Author" class, first name and last name should be set. This class should have 3 getters. The getters should have the following behavior...
1. Gets first name
2. Gets last name
3. Gets full name
The class "Book" should take 3 arguments upon instantiation. Arguments are as follows...
1. Author -> needs to be of class Author in order to instantiate
2. Title
3. Price
The book should have 5 getters. The getters should have the following behavior...
1. Gets price
2. Gets title
3. Gets author's first name
4. Gets author's last name
5. Gets author's full name
The book should also have 1 setters which will allow you to change the price.
I need answer for this question to be written in laravel or php as soon as possible
Hi
I have 5+ experience in web development. I have completed many task like this.
I have strong knowledge of PHP, Laravel and Lumen.
Please help me with more detail on your project so I will give you best work.
Please check my profile for more about my project details: https://www.freelancer.in/u/DHSprout
Thanks,
DH
We are a web developing and designing company with various other facilities such as web
content and digital marketing related to all types of specializations. Additional considerations
and implementations are assisted concerning the requirement of the work. We specialize in
content writing and its types such as academic and blog writing for UK, US, Australia, Singapore
and other countries.
Our diverse functions in various fields include:
1. Website Designing
2. Website Development
3. S.E.O. & Digital Marketing
4. Android Application Development
5. iOS Application Development
6. Content Writing
7. Software Development
8. Python Development
9. Java Development
10. C# Development
11. Windows Development
12. Windows Development
13. Ionic Development
14. Angular JS Development
15. Rest Framework Development
16. Wordpress/Magento/Opencart/Drupal Development
Our assured services
*Punctual Work
*24/7 Availability
*Plagiarism Free Work
*Free support and assistance
*Uncompromised Quality
Regards
Raghvendra Singh