Does a compound has the same properties as the substances it contains?
Compounds are formed by chemical combination of two or more elements and contain a fixed ratio of these elements. Compounds can not be separated into constituent elements by physical means. Compounds have properties of their own, which are different from those of their constituent elements. For example, water is made up of two elements hydrogen and oxygen. While hydrogen is a highly combustible gas, oxygen gas is required for combustion. In comparison, their compound water is a liquid and is used to extinguish fire (and off course, does not take part in or support combustion). Similarly, the table salt (sodium chloride) is composed of sodium (A metal, highly reactive) and chlorine (A non-metal and highly poisonous). Sodium chloride is an ionic compound, is very safe and is used in our food (pretty much) everyday. So no, a compound generally will have properties distinct from its constituent parts.
Hope this helps.