Computer Science, asked by satyamsoni, 1 year ago

information about ( class as an object factry) in detail

Answers

Answered by Anna11111111
1
Object :-They are the basic learn type entities object oriented system . They may be represent to a person ,a place ,a bank account, a table of data or any item that the program must handle . Programming problem may analized in terms of object and the neature of communication between them .programing object should be choosen such that they match closely with the real world object .object take space in memory and have an associated address like reacord of structure. each object contain data and code to manipulate the data .when a program is exsicute the object impact by sending massage to one another. For example - if customer and bank account is an program then the customer account may send a message to requesting for bank account. Class:-The entire class of data and code of an object can be made user defined data type . Object are the variable type class .Once a data have been defined we can creat an object belonging to the class . A class in an collection of object similar type .
For example :-Class:-Fruit .
Object:-Mango
Apple

satyamsoni: its not correct
Similar questions