MagicLen · https://magiclen.org
WOFF (Web Open Font Format)是一种用于网页里的字体格式,支持 OpenType 和 TrueType,可以使用 zlib 或是 Zopfli 来压缩字体,大大地减少服务器传递字体时损耗的网络流量。WOFF2 (WOFF 2.0)是比较新颖的字体格式,拥有比 WOFF 还要更好的压缩能力,使得字库案变得更小、更易于传输!如果想要在网页里,透过 CSS 的「@font-fac...
The protected modifier on a Field declaration within a public class means that the field ______________.
A. Cannot be modified
B. Can be read but not written from outside the class
C. Can be read and...
Which code fragment, when inserted at line // insert code here, enables class Test to print 123 : Fred : [Java, C]?
A.
private Student(int i, String name, List cs) {
/* initialization code goes here ...
The class is poorly encapsulated. You need to change the circle class to compute and return the area instead.
Which two modifications are necessary to ensure that the class is being properly encapsul...
What is the result?
A.
1
1
1
B.
1
2
3
C.
2
3
4
D. Compilation fails
E. The loop executes infinite times
Given the following class declarations:
public abstract class Animal
public interface Hunter
public class Cat extends Animal implements Hunter
public class Tiger extends Cat
Which answer fail...
Which two statements, when inserted independently at line // insert code here, enable the code to compile?
A. int[][] arr = null;
B. int[][] arr = new int[2];
C. int[][] arr = new int[2][];
D. int[][...
Which two statements are true?
A. This is not the only valid for loop construct; there exits another form of for loop constructor.
B. The expression expr1 is optional. it initializes the loop and is ...
Which option can replace xxx to enable the code to print 135?
A. int e = 0; e <= 4; e++
B. int e = 0; e < 5; e += 2
C. int e = 1; e <= 5; e += 1
D. int e = 1; e < 5; e +=2
What is the output?
A. X X X
B. X Y X
C. Y Y X
D. Y Y Y