A.NAS
B.Firewall
C.Hub
D.Bridge
第1题:
访问修饰符作用范围由大到小是( )
A)private-default-protected-public
B)public-default-protected-private
C)private-protected-default-public
D)public-protected-default-private
第2题:
Most IP layer-based proxy mechanisms, such as network address translation(NAT), only support uni-directional proxy, from the internal network to external network(the Internet). The proxy establishes the communication channel by(66)IP addresses. The IP addresses must be(67). These proxy mechanisms prevent applications that must establish return data channels from establishing their data channels, such as, multimedia applications. IP layer-based proxy mechanisms need additional software(68)for each application that uses(69)channels. SOCKS identifies communication targets through domain names, overcoming the restriction of using private IP addresses. SOCKS can use domain names to establish communication between separate LANs, with(70)IP addresses.
A.manufacturing
B.manipulating
C.conduct
D.implement
第3题:
判断下面程序编译是否正确,如果错误简要说明原因 class B{ public: B(int a){ x=a; } private: int x; }; class D : public B{ public: D(int a ) : y(a){ } private: int y; };
第4题:
若有以下程序: #include<iostream> using namespace std; class A {private: int a; public: A(int i) {a=i;} void disp() {cout<<a<<“,”;}}; class B {private: int b; public: B(int j {b=j;} void disp() {cout<<b<<
A.10,10,10
B.10,12,14
C.8,10,12
D.8,12,10
第5题:
下列描述中,错误的是()。
A.基类的protected成员在public派生类中仍然是protected成员
B.基类的private成员在public派生类中是不可访问的
C.基类public成员在private派生类中是private成员
D.基类public成员在protected派生类中仍是public成员
第6题:
访问修饰符作用范围由大到小是
A.private-default-protected-public
B.public-default-protected-private
C.private-protected-default-public
D.public-protected-default-private