CSC166 Object Oriented Programming

Object Oriented ProgrammingTU Board 2078

What is meant by type conversion? Define two way of converting one user defined data type (object) to another user defined object? Write a program that converts object of another distance class with…

10

What is meant by type conversion? Define two way of converting one user defined data type (object) to another user defined object? Write a program that converts object of another distance class with data members feet and inch.(Assume 1m = 3.3 feet and 1cm = 0.4 inch)

A worked answer is on its wayMeanwhile, read the Object Oriented Programming notes for this topic.

Discussion

Loading…

More Object Oriented Programming questions

All Object Oriented Programming old questions