回复: 0
收起左侧

2025 6月 beaconfire 视频面经 Java Developer【含题目+解法,详细版,求米】

本楼:   👍  1
100%
0%
0   👎
全局:   6
100%
0%
0

2025(4-6月) 码农类General 本科 全职@beaconfire-solution - 猎头 - 视频面试  | 😃 Positive 🙂 Easy | Other | 应届毕业生
本帖最后由 wwu05 于 2025-6-24 14:25 编辑

过了phone interview和OA后,是视频的tech interview(邮件说的是要自己安装好IDE,实际上我的面试官是发链接给我在网上做,share screen)
1. 说一下你对java中Encapsulation(封装)的理解
我没有准备,瞎说一通,举了几个例子,感觉没答对。
下面是事后找到的,比较正式的回答:
  • Encapsulation in Java is the concept of bundling data (fields) and methods that operate on that data into a single unit, usually a class, and restricting direct access to the internal state of the object. This is typically done by making fields "private"
    and providing "public" getter and setter methods. It helps protect the integrity of the data, improves code maintainability, and allows for better control over how the data is accessed or modified.

2. 说一下你对Overload(重载)Override(重写)的理解
这个我主要通过举例说明,有答对。
下面是事后找到的,比较正式的回答:
  • Overloading happens within the same class when multiple methods have the same name but different parameter lists (different number or types of parameters). It's a way to provide multiple behaviors for a method depending on the input.
    Overriding occurs in an inheritance relationship when a subclass provides a specific implementation of a method that is already defined in its superclass. The method signature must be exactly the same, and it's used to provide specialized behavior in the subclass.
    In short: Overloading = same method name, different parameters; Overriding = same method signature, different class (child overrides parent)."

3. 你有没有用过thread,有的话谈一谈(怎么创建一个thread)
我说用过一次,但不是很熟悉,需要查一下资料才会用,不太记得。
下面是事后找到的,AI的回答:(不确定答了后会不会追问别的问题。)
  • Yes, I’ve used threads in Java to handle concurrent tasks. There are two main ways to create a thread: one is by extending the
    您好!
    本帖隐藏的内容需要积分高于 188 才可浏览
    您当前积分为 0。
    使用VIP即刻解锁阅读权限或查看其他获取积分的方式
    游客,您好!
    本帖隐藏的内容需要积分高于 188 才可浏览
    您当前积分为 0。
    VIP即刻解锁阅读权限查看其他获取积分的方式
    g individual row deletions and cannot have a WHERE clause; it removes all data. In most databases, TRUNCATE cannot be rolled back once executed.
    In summary, DELETE is more flexible and safer for selective row removal, while TRUNCATEis efficient for quickly clearing entire tables."

7. 发给我一个链接,share screen做题(很简单)
题意:给出一组数字,找出其中第二大的数字。
我问他需不需要catch input,他说不用,直接hard code input然后run。
我写的方法是用两个for循环,第一个循环找出最大值,第二个循环找出排除最大值之后的最大值(第二大)。
接着他问有没有别的方法。我想了一下说可以用排序,然输出顺位第二大的值,不过排序最优的算法好像也要O(nlogn)。
我问他要不要用排序再实现一次?他说不用了。让我说一下目前算法的复杂度。
下面是事后找到的,AI的回答:(用一个for循环就可以了)

*面试官是一个比较友好印度中年男人,口音不重,没听懂/清的单词会打在chat里,他一开始就跟我说,重点是考核java相关的知识,sql,和restful API的问题也会问,但不是考核重点。
*感觉面试很简单,大概是因为培训过程中会刷人,而且就算没刷下来的人要是离职也会被要求赔培训费和违约金,所以他家怎么都不亏。(不过也有人说有方法不赔,但没有了解,感觉以后做背调的时候也是很麻烦的事情。)
====看在我码了这么多字的份上,请给我点米,没有188积分,啥也看不到。。゚・ (>﹏<) ・。
====如果有帮助欢迎点赞和评分,谢谢支持!

本帖子中包含更多资源

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x

评分

参与人数 3大米 +17 收起 理由
ekko- + 1 很有用的信息!
萝卜acx + 1 赞一个
清道神君 + 15 欢迎分享你知道的情况,会给更多大米奖励!

查看全部评分


上一篇:door大师 面经 HR call + phone screen
下一篇:Axon 店面
您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表