हिंदी

Given below is a partial program code. Identify any error, if present. Also find the following in it: [Class name, Object name, Array, member data, data type] double balance;class Banker { short

Advertisements
Advertisements

प्रश्न

Given below is a partial program code. Identify any error, if present. Also find the following in it:

[Class name, Object name, Array, member data, data type]

class Banker
{
   short c_id;
   double balance;
   long phone_num;
}
कोड लेखन
Advertisements

उत्तर

Class Name : Banker

Member Data : c_id,balance,phone_num

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Class as the Basis of all Computation - Exercises [पृष्ठ ६६]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 2 Class as the Basis of all Computation
Exercises | Q 5. (iv) | पृष्ठ ६६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×