我收到的问题是:私人成员:NameNo_of_days Getit() -to enter the data membersCompute() -To calculate and return the total charges as charges_day * No_of_dayspublic class hotel{
pr
我有这三个函数,它们是不同的,但它们都发生在相同的上下文中,它们是相关的,所以它们在公共部分中有一些组件(例如:类名)。($btn, classToAdd) {}
// more 5-10 lines of code它们在$(document).ready()之前声明,因此它们是全局的,并在不同的页面中调用。= function(