`

for InterView one question per day

    博客分类:
  • Java
阅读更多
1:What's the difference between Interface and Abstract Class?
Answer:
i.similarity:
a)can not be instance
ii.Difference:
a) InterFace want to show the "like a " relation
b) Abstarct Class want to show the "is a" relation

2.Public/Private/Protected/Default?
Answer:
the difference is about the "access authority  "

pubilc:the largest access authority
private:can be access or visible by itself
protected:can be access or visible by the subclasses or the other classes in same package
default:can be ... in same package

3.the distinction  of "==" and "equals"
分享到:
评论

相关推荐

    MS interview question 微软笔试题

    MS interview question 微软笔试题,以前在微软里面搜集到的

    python_interview_question-master.zip

    这份"python_interview_question-master.zip"资源包含了丰富的面试题目,旨在帮助Python学习者和求职者全面巩固和提升Python知识,涵盖了从基础语法到高级特性的全方位考察,同时特别加入了爬虫和Web开发的相关内容...

    c++ interview question 2

    根据提供的文件信息,我们可以整理出以下相关C++面试知识点: ### 1. 虚拟析构函数 在C++中,当一个派生类对象通过基类指针被删除时,如果没有定义虚拟析构函数,则只会调用基类的析构函数,这会导致派生类中的...

    Algorithm for Interview面试算法笔记-中文

    Algorithm for Interview面试算法笔记-中文

    interview question

    initialize dp[0][0] = true, dp[i][0] = true for all i, and rest as false for i from 1 to n for j from 1 to target if j [i] dp[i][j] = dp[i-1][j] else dp[i][j] = dp[i-1][j] or dp[i-1][j-array[i]] ...

    java interview question

    J2EE(Java 2 Platform, Enterprise Edition)是Java用于企业级应用的平台,它包含了四种主要组件:企业级JavaBeans(EJB),JavaServer Pages(JSP),Servlets和Java API for XML Processing (JAXP)。Hibernate是一个...

    dynamic programming for interview

    dynamic programming for interviewdynamic programming for interviewdynamic programming for interviewdynamic programming for interview

    123-Essential-JavaScript-Interview-Question, JavaScript访问问题.zip

    123-Essential-JavaScript-Interview-Question, JavaScript访问问题 123 -JavaScript-Interview-Questions这本书将由 2018年06月 完成并可以供购买。 如果你想让我把这本书的早期拷贝,请在这里添加你的NAME 和电子...

    考研保研简历提问助手-GLM4_Postgraduate-Interview-Question-Assistant.zip

    考研保研简历提问助手-GLM4_Postgraduate-Interview-Question-Assistant

    Java-Interview-Question.pdf

    在Java面试中,通常会涉及一系列的基础知识点和概念,以考察应聘者是否具备Java编程的扎实基础和对面向对象编程的深入理解。以下是根据提供的文件内容整理的Java知识点详解: ### Java语言特点 ...

    Python basic concepts for Interview prep

    Python basic concepts for Interview prep

    Grokking the Coding Interview - Patterns for Coding Questions.zip

    《Grokking the Coding Interview - Patterns for Coding Questions》是一份专为北美算法面试准备的压缩包资源,其中包含了多种常见的编程题目模式。这份资源旨在帮助面试者熟练掌握各种算法和数据结构,以便在面试...

    How to Answer The 64 Toughest Interview Question.pdf

    根据提供的文件信息,本文将对其中提及的部分面试问题进行详细解析,并给出建议性的回答策略,以便求职者在面试过程中能够更好地展示自己。 ### 一、一般性指导原则 面试是评估求职者是否适合某一职位的重要环节。...

    Core Java Interview Question Page 1.doc

    Core Java Interview Question Page 1

    Software QA interview Question Summary

    在软件质量保证(Software QA)的面试中,准备充分是成功的关键。以下是一些常见的QA测试员面试问题,涵盖了技术知识、基本概念和实践经验: 1. **测试基础与术语:** - 什么是软件测试?其主要目标是什么?...

    【java面试题】100IT名企java面试必考面试题 Java Interview Question

    (Java Interview Question 100 IT Enterprise Java Compulsory Interview Question) 【java面试题】100IT名企java面试必考面试题 (Java Interview Question 100 IT Enterprise Java Compulsory Interview Question)

    interview for algorithm

    ### 算法面试知识点详解 #### 一、算法面试概览 算法面试是软件工程师求职过程中至关重要的一环。它不仅考察应聘者的基础算法知识,还考验其问题抽象能力、解决问题的能力以及编程实现技巧等多方面技能。...

    MPLS/BGP Interview Question

    Good MPLS, BGP interview Questions

    Algorithm_for_Interview-Chinese-master.zip

    "Algorithm_for_Interview-Chinese-master.zip" 这个压缩包文件很可能包含了丰富的面试准备资料,聚焦于C++语言,涵盖了多种核心算法和概念。让我们深入探讨一下这些关键知识点。 1. **查找与排序**: - **查找...

    Java English interview question

    Java 2 Enterprise Edition (J2EE) 是一个由Sun Microsystems公司定义的开发和部署企业级应用的环境。它提供了一个平台,包含了服务、应用程序接口(APIs)和协议,用于构建多层、基于Web的应用程序。...

Global site tag (gtag.js) - Google Analytics