Java英文面试问答(三)

6. Define JDK, JRE, and JVM?
JDK: It is an abbreviation for Java Development Kit used for compiling, documenting, and packaging Java programs. It includes JRE and development tools.
JRE: Java Runtime Environment or JRE is a runtime environment for Java bytecode execution. It is for making JVM active and effective.
JVM: It is Java Virtual Machine, which is an abstract machine. It sends instructions to the computer's processor to execute for the execution of Java bytecode.

7. What makes Java platform-independent?
Because of its features to run bytecodes on any system, regardless of which platform they are written on.

8. Is Java 100% object-oriented. If not, than why?
No. Java is not 100% object-oriented since it used eight primitive data types. Which are: boolean char, byte, float, int. double, short, and long. And all these are not objects.

9. What are Constructors in Java?
They are a block of codes meant for initializing an object. However, their name should be identical to that of the class. Moreover, when an object is created, it automatically gets called because of not having any return type.

10. What are the types of Constructors?
The constructors are of two types:
1.Default Constructor: This constructor is so named because it is created by default, which means without any inputs from the user. It is also called no argument constructor since it doesn't take any inputs. It takes the default values of the instance variables and is used for creating an object.
2.Parameterized Constructor: It is the constructor that has the quality to initialize the instance variables as per the provided values. It is so called because it takes the arguments.
Java is vast which is why there is no way to guess how many questions would be asked in the interview. It totally depends on the interviewer and the time he or she has to interview you.
#面经##校招##秋招##Java面试##互联网面试#
全部评论
我要是碰到这种,就彻底的没戏了
点赞 回复 分享
发布于 2022-10-08 18:44 山西

相关推荐

不愿透露姓名的神秘牛友
07-07 11:35
程序员小白条:话太多,没实力和学历,差不多回答回答就行了,身份地位不一样
点赞 评论 收藏
分享
来个大佬救一下,为上投了都是石沉大海了,没实习经历的话怕秋招直接进不了面。什么实习这么难找,基本
心态爆炸了:现在正式的岗位都少,实习基本不咋招的,除了大厂,中小企业其实没那么多岗位需求,就算是有,大多都是招一两个廉价劳动力,同时,他们也会希望你一来就能干活的,没时间培训你,就让你了解公司的项目,你了解完就可以开始干活。再者是,很多低质量的实习其实用处没有那么大的。我去年也是找实习找到破防,最后去了一家深圳的小公司实习,工作对我来说很简单,甚至不如我在学校做的项目,秋招的时候,这段实习经历也并没有帮上什么忙,投递简历,依旧非常低的回复率。低回复率是常态,尤其是找实习,找不到,那就把重心放在优化自己的简历和项目,多看八股文,锻炼自己的面试能力,多看别人的面经,自己模拟面试,等秋招的时候,只要有那么寥寥几次,好好抓住那几次机会。
点赞 评论 收藏
分享
仁者伍敌:牛子这些人还会点一个自动回复,boss都不带回复的
点赞 评论 收藏
分享
评论
1
4
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务