Java面试题和答案(英文版).docVIP

  • 6
  • 0
  • 约 14页
  • 2017-01-05 发布于贵州
  • 举报
Java面试题和答案(英文版)Java面试题和答案(英文版)

Java面试题和答案(英文版) Q: What is the difference between an Interface and an Abstract class? A: An abstract class can have instance methods that implement a default behavior. An Interface can only declare constants and instance methods, but cannot implement default behavior and all methods are implicitly abstract. An interface has all public members and no implementation. An abstract class is a class which may have the usual flavors of class members (private, protected, etc.), but has some abstract methods. Q: What is the purpose of garbage collection in Java, and when is it used? A: The purpose of

文档评论(0)

1亿VIP精品文档

相关文档