Page 117 - DCAP404 _Object Oriented Programming
P. 117
Object-oriented Programming
Notes 4. friend void b(): Function b() has been declared in the scope of f().
5. ::X moocow: This declaration creates an object of the nonlocal class ::X.
The compiler would not allow the following statements:
1. friend void a(): This statement does not consider function a() declared in namespace scope.
Since function a() has not been declared in the scope of f(), the compiler would not allow
this statement.
2. friend void c(): Since function c() has not been declared in the scope off(), the compiler
would not allow this statement.
3. X moocow2: This declaration tries to create an object of the local class X, not the nonlocal
class ::X. Since local class X has not been defined, the compiler would not allow this
statement.
Caselet History of a Hi-tech City (Bengaluru)
“To establish, maintain, conduct, provide, procure or make available services of every
kind including commercial, statistical, financial, accountancy, medical, legal, management,
educational, engineering, data processing, communication and other technological, social
or other services.”
“To carry on the business as importer, exporter, buyers, lessors, and sellers of and dealers
in all types of electronic components and equipments necessary for attaining the above
objects.”
Thus reads a portion of a section titled ‘the main objects of the company, as set out in the
memorandum of association,’ in The Birth of the Infosys Saga, a chapter included by
Narendar Pani, Sindhu Radhakrishna and Kishor G. Bhat in Bengaluru, Bangalore,
Bengaluru (www.sagepublications.com).
Another excerpt from ‘Infosys IPO Prospectus 1993’ is about DMAP (distributor management
application package), which addresses ‘the MIS needs of a distributor of consumer products,’
by handling ‘sales order processing, customer service, accounts receivable, allocation,
invoicing, warehouse management, purchasing, inventory, sales analysis and forecasting.’
The package, with over 600 programs and running on IBM AS/400, is used by Reebok,
informs the description.
Three Segments
Under ‘marketing’ one reads about the three major segments from which Indian
software companies derive business _ on-site services, turnkey projects, and products/
packages. “On-site is a low technology business involving selection of software
personnel with appropriate educational qualifications and experience in developing
software on the desired hardware platforms and sending them abroad to work on-site
at client locations. A large number of software companies in India are in this segment
of business.”
Turnkey project management, the second segment, involves understanding of the clients’
requirements, estimation of effort, time, resource input (both hardware installation and
software personnel), data communication, and developing high quality software on
Contd...
110 LOVELY PROFESSIONAL UNIVERSITY