मराठी

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×