image

编辑人: 人逝花落空

calendar2025-06-01

message2

visits830

Java英文面试题

Q 1. Construct a Java program to do the following
(if you do this question, you do not have to answer Q2, Q3 and Q4):

byte b =
byte pos = ;
bu.IsBitOn(b, pos);
b = 4;
bu.IsBitOn(b, pos);

Result:

> Byte = 5, Bit at position 0 is on.
> Byte = 4, Bit at position 0 is off

Eg.
5 = 00000101
7      6    5    4    3    2    1    0
0    0    0    0    0    1    0    1

Bit at position 0 is on

Q 2. Explain why Java program can be easily run on different platforms/operating systems.

Q 3. Describe the structure of a Class in Java

Q 4. Explain Inheritance and Overloaded Function in  Java

喵呜刷题:让学习像火箭一样快速,快来微信扫码,体验免费刷题服务,开启你的学习加速器!

创作类型:
原创

本文链接:Java英文面试题

版权声明:本站点所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明文章出处。
分享文章
share