题目内容

#include
#include
#include
using namespace std;
class AbstractFile{
protected:
string name; //文件或目录名称
public:
void printName(){cout$amp; virtual void addChild(AbstractFile *file)=0; //给一个目录增加子目录或文件}
virtual void removeChild(AbstractFile *file)=0; //删除一个目录的子目录或文件
virtual list *getChildren()=0; //获得一个目录的子目录或文件
};
class File:public AbstractFile{
public:
File(string name) {(1) = name;}
void addChild(AbstractFile *file){return;}
void removeChild(AbstractFile *file){return;}
(2) getChildren(){return (3) ;}
};
class Folder :public AbstractFile{
private:
list childList: //存储子目录或文件
public:
Folder(string name){ (4) name;}
void addChild(AbstractFile*file){childList.push_back(file);}
void removeChild(AbstractFile*file){childList.remove(file);}
list*getChildren(){return (5) ;}
};
void main(){
//构造一个树形的文件/目录结构
AbstractFile *rootFolder=new Folder("c:\\ ");
AbstractFile*compositeFolder=new Folder("composite");
AbstractFile *windowsFolder=new Folder("windows");
AbstractFile*file=new File("TestCompositejava");
rootFolder->addChild(compositeFolder);
rootFolder->addChild(windowsFolder);
compositeFolder->addChild(file);

查看答案
更多问题

PB I/E CORPORATION
BUSAN KOREA OUR BOOK No.:
24JFK5466J B/L No.:
ZW780321 CONSIGNEE:
HENAN GH IMP/EXP CO., LTD.
No.34 GUANGZHOU ROAD, ZHENGZHOU, CHINA REMARKS:
NOTIFY PARTY:
DALIAN DAXING COMMERCIAL&TRADE CO., LTD.
No.176 ZHONGSHAN ROAD, DALIAN, CHINA PORT OF LOADING:
SYDNEY VESSEL:
STAR RIVER
VOYAGE No.:
847E
FLAG:
GERMANY PORT OF DISCHARGE:
DALIAN CHINA VIA INCHON PLACE OF DELIVERY: MARK
No.OF PKGS
DESCRIPTION OF GOODS
GROSS WEIGHT
MEASUREMENT
GH 20 PLASTIC PALLETS 18,000KGS 17,600CBM
生羊皮的检验检疫监管类别是M.P/N.Q,说明该种货物进境时需实施品质检验和动植物检疫。()

THE SELLER: NO. YH08039
SHANDONG YIHAI IMP. & EXP. CO.,LTD. DATE: DEC.1, 2008
NO. 51 JINSHUI ROAD, QINGDAO, CHINA SIGNED AT: QINGDAO,CHINA
THE BUYER:
LINSA PUBLICIDAD, S.A.
VALENCIA, 195 BAJOS. 08011. BARCELONA, SPAIN
This Sales Contract is made by and between the Sellers and the Buyers, whereby the sellers
agree to sell and the buyers agree to buy the under-mentioned goods according to the terms and
conditions stipulated below:
Commodity & Specification Quantity Price Terms
Unit price Amount
CARDHOLDER
DYED COW LEATHER
BLACK
BROWN
5000PCS
8000PCS
FOB QINGDAO
USD1.45/PC
USD1.50/PC
USD 7250.00
USD12000.00
USD19250.00
Total amount: U.S.DOLLARS NINETEEN THOUSAND TWO HUNDRED AND FIFTY ONLY
Packing: 1PC/POLYBAG, 500PCS/CTN Shipping Mark: L.P.
Time of Shipment: DURING JAN. 2009 BY SEA BARCELONA
NOS.1-26
Loading Port and Destination: FROM QINGDAO TO BARCELONA
Partial Shipment and Transshipment: ALLOWED
Insurance: TO BE EFFECTED BY THE BUYER.
Terms of Payment: THE BUYER SHALL OPEN THROUGH A BANK ACCEPTABLE TO
THE SELLER AN IRREVOCABLE SIGHT LETTER OF CREDIT TO
REACH THE SELLER 30 DAYS BEFORE THE MONTH OF SHIPMENT
AND TO REMAIN VALID FOR NEGOTIATION IN CHINA UNTIL THE
15th DAY AFTER THE FORESAID TIME OF SHIPMENT.
ISSUE OF DOCUMENTARY CREDIT
27: SEQUENCE OF TOTAL:1/1
40A: FORM. OF DOC.CREDIT :IRREVOCABLE
20: DOC.CREDIT NUMBER :103CD137273
31C: DATE OF ISSUE :081215
40E: APPLICABLE RULES :UCP LATEST VERSION
31D: DATE AND PLACE OF EXPIRY :DATE 090202 PLACE IN SPAIN
51D:APPLICANT BANK:BANCO SANTANDER, S.A.
28660 BOADILLA DEL BARCELONA, SPAIN
50: APPLICANT :LINSA PUBLICIDAD, S.A.
VALENCIA, 195 BAJOS. 08011. BARCELONA, SPAIN
59: BENEFICIARY :SHANDONG YIHAN IMP. & EXP. CO., LTD.
NO. 51 JINSHUI ROAD, QINGDAO, CHINA
32B: AMOUNT :CURRENCY EUR AMOUNT 19250.00
41A:AVAILABLE WITH…BY ANY BANK IN CHINA BY NEGOTIATION
42C:DRAFTS AT… 30 DAYS AFTER SIGHT
42A:DRAWEE :LINSA PUBLICIDAD, S.A.
43P:PARTIAL SHIPMTS:NOT ALLOWED
43T:TRANSSHIPMENT:NOT ALLOWED
44E:PORT OF LOADING:ANY CHINESE PORT
44F:PORT OF DISCHARGE :VALENCIA, SPAIN
44C:LATEST DATE OF SHIPMENT:090115
45A:DESCRIPTION OF GOODS
GOODS AS PER S/C NO. YH08036 DATED ON DEC. 1, 2008
CARDHOLDER DYED COW LEATHER
BLACK COLOUR/8000PCS AT USD1.45/PC FOB QINGDAO
BROWN COLOUR/5000PCS AT USD1.50/PC FOB QINGDAO
PACKING: 200PCS/CTN
46A:DOCUMENTS REQUIRED
1. SIGNED COMMERCIAL INVOICE IN 3 COPIES
2. CERTIFICATE OF ORIGIN GSP FORM. A ISSUED BY OFFICIAL AUTHORITIES
3. PACKING LIST IN 3 COPIES
4. FULL SET CLEAN ON BOARD BILLS OF LADING MADE OUT TO ORDER MARKED
FREIGHT PREPAID AND NOTIFY APPLICANT
5. INSURANCE POLICY/CERTIFICATE IN DUPLICATE ENDORSED IN BLANK FOR
110% INVOICE VALUE COVERING ALL RISKS AND WAR RISK AS PER CIC.
47A: ADDITIONAL CONDITIONS
BILL OF LADING ONLY ACCEPTABLE IF ISSUED BY ONE OF THE
FOLLOWING SHIPPING COMPANIES: KUEHNE-NAGEL (BLUE ANCHOR LINE)
VILTRANS (CHINA) INT’L FORWARDING LTD. OR VILTRANS SHIPPING (HK) CO.,
LTD.
71B: CHARGES:ALL CHARGES ARE TO BE BORN BY BENEFICIARY
48: PERIOD FOR PRESENTATION:WITHIN 5 DAYS AFTER THE DATE OF SHIPMENT,
BUT WITHIN THE VALIDITY OF THIS CREDIT
49: CONFIRMATION INSTRUCTION:WITHOUT
经审核信用证需要修改的内容如下:

A第一代制剂
B第二代制剂
C第三代制剂
D第四代制剂
E第五代制剂

A +
B *
C $amp;D =;$br>

答案查题题库