Welcome to Westonci.ca, the place where your questions are answered by a community of knowledgeable contributors. Get immediate answers to your questions from a wide network of experienced professionals on our Q&A platform. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform.
Sagot :
Answer:
c. let v = silo.volume();
Explanation:
When you create and initialize a new object you pass through that object's class constructor. The constructor is in charge of initializing all the necessary variables for that class including radius and height. Once you save the object in a specific variable (silo) you need to call the class methods through that variable, using the '.' command. Therefore, in this scenario, in order to call the volume() method you would need to call it from the silo object and save it to the v variable, using the following statement.
let v = silo.volume();
We hope our answers were helpful. Return anytime for more information and answers to any other questions you may have. We appreciate your time. Please revisit us for more reliable answers to any questions you may have. Keep exploring Westonci.ca for more insightful answers to your questions. We're here to help.