Which keyword can protect a clas

题目

Which keyword can protect a class in a package from accessibility by the classes outside the package()。

  • A、private
  • B、protected
  • C、final
  • D、don’t use any keyword at all (make it default)
参考答案和解析
正确答案:D
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Keyword and blacklist filtering would be handled at which level in a network?()

A. Layer 2 managed switch

B. DHCP server

C. Hardware firewall

D. Bridge


参考答案:C

第2题:

()are the three different coatings which can protect metal from corrosion.

  • A、Cement wash, bitumen and paint
  • B、Metal primers, undercoats and topcoats
  • C、Varnishes, heat-resistant paints and anti-fouling paints
  • D、Cement wash, primer and undercoat

正确答案:A

第3题:

Volatile:

a) What does the keyword volatile mean? Give an example

b) Can a parameter be both const and volatile? Give an example

c) Can a pointer be volatile? Give an example


正确答案:
 

第4题:

Which smb.conf configuration keyword determines the hostname resolution order?()

  • A、 use ads
  • B、 name resolve order
  • C、 use nsswitch.conf
  • D、 use resolv.conf

正确答案:B

第5题:

Which two statements are true about the Cisco Classic (CBAC) IOS Firewall set?()

  • A、It can be used to block bulk encryption attacks
  • B、It can be used to protect against denial of service attacks
  • C、Traffic originating from the router is considered trusted, so it is not inspected
  • D、Based upon the custom firewall rules, an ACL entry is statically created and added to theexisting ACL permanently
  • E、Temporary ACL entries that allow selected traffic to pass are created and persist for theduration of the communication session

正确答案:B,E

第6题:

Which statements concerning the switch construct are true?()  

  • A、All switch statements must have a default label.
  • B、There must be exactly one label for each code segment in a switch statement.
  • C、The keyword continue can never occur within the body of a switch statement.
  • D、No case label may follow a default label within a single switch statement.
  • E、A character literal can be used as a value for a case label.

正确答案:E

第7题:

Which Cisco product family can simultaneously implement firewall, VPN, content security, network access control, virtualization, anD content filtering?()

  • A、catalyst switches
  • B、adaptive security appliances
  • C、intrusion prevention systems
  • D、protect link gateway

正确答案:B

第8题:

Which command returns a list of commands in which a given keyword is used throughout the Junos hierarchies?()

A. help topic

B. help reference

C. help apropos

D. help tip


参考答案:C

第9题:

Which keyword is used with the show ip bgp neighbors [keyword] command to display all routes that are received and accepted from a neighbor?()

  • A、paths
  • B、accepted-routes
  • C、advertised-routes
  • D、routes

正确答案:D

第10题:

Which four are true?()

  • A、 Has-a relationships should never be encapsulated.
  • B、 Has-a relationships should be implemented using inheritance.
  • C、 Has-a relationships can be implemented using instance variables.
  • D、 Is-a relationships can be implemented using the extends keyword.
  • E、 Is-a relationships can be implemented using the implements keyword.
  • F、 An array or a collection can be used to implement a one-to-many has-a relationship.
  • G、 The relationship between Movie and Actress is an example of an is-a relationship.

正确答案:C,D,E,F

更多相关问题