There is not any must make use of a return statement as the compiler can infer that you want to return the result of the expression , regardless of the number of circumstances of the class exist. So all situations of that course share its price and also its declaration. https://smartworldeveloper.in/