Question: Intro to java class chapter 1. Define a class BOOK with the following members Private members Bno of type int Bname of type String Author
1. Define a class BOOK with the following members Private members Bno of type int Bname of type String Author of type String Price of type float Public members void Enter0 member function to enter the values of data members void Display0 member function to display the values of data members int RBno0 member function that returns the value of Bno String RBname) member function that returns the value of Bname Write a program which creates an object BOOK Takes the input of all fhelds using Enter) method Displays all the fields using Display0 method . Display
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
