Answer:
ofstream asia("asiasales2009.txt"); //It is used to open asiasales2009.txt files with the asia objects.
ofstream europe("europesales2009.txt"); //It is used to open europesales2009.txt files with the europe objects.
ofstream africa("africasales2009.txt");
//It is used to open africasales2009.txt files with the africa objects.
ofstream latin("latinamericasales2009.txt");//It is used to open latinamericasales2009.txt files with the latin objects.
Explanation:
- The above code is written in the c++ language which is used to open the specified files with the specified objects by the help of ofstream class as described in the question-statements.
- The ofstream is used to open the file in the c++ programing language, so when a user wants to use the ofstream to open the file in written mode, then he needs to follow the below syntax--
ofstream object("file_name_with_extension");
Answer:
If you don't know your skills to get this profession then you shouldn't be in this profession try another profession that is more your type that doesn't require this types of skills, don't ask random people about your hobbies thanks!
<u><em>Warning:</em></u>
If this persists this account may be moderated.
Answer: A class that implement an interface must contain methods for all abstract methods in the interface. Otherwise, the class must be declared as abstract.
Explanation:
It is necessary to implement all the abstract method that are present in the interface. Basically, this is one of the rule of abstract method. As, abstract method is define as without any implementation.
If any class contain abstract method then, it must be declare as abstract. Therefore, if a class are not implemented an interface method then, it should be declare as abstract.
Format menu
Format menu is used to change typeface of a document
Answer:
The statements that describe the advantages of using XML are;
B-It allows for data storage in a separate file
D-It is software independent
E-It facilitates the transport of data
Explanation:
XML data can be stored in separate file such that the layout and display can designed in HTML whereby the data in the XML file can be changed without changing the HTML
XML is both software and hardware independent thereby it is possible to use the same XML to carry information to different computers and software
XML is used for data transport.