A company recruits J2ME programmer's interview topic

xiaoxiao2021-04-10  403

A company recruits J2ME programmer's interview topic

The content is as follows:

1. Write calculation 8 divided by 2 fastest ways.

2. Writing the code implementation to find the absolute value of the BYTE type data. The method is declared as follows:

BYTE ABS (BYTE B) {}

3. Write code to implement whether the two rounds of the same plane collide, where:

The first circular heart coordinate is (x1, y1), the radius is R1, the second circular heart coordinate is (x2, y2), and the radius is R2.

The method is declared as follows:

Boolean Colliswith (int X1, int y1, int R1, int x2, int y2, int R2) {}

4. Determine if the element in an int array is repeated, the method is declared as follows:

Boolean isrepeat (int [] m) {}

5. Implement the array element in a positive order with a recursive method. For example, String [] s = {"a", "b", "c", "d"};

The method is declared as follows:

Void Print (String [] S, INT I) {}

转载请注明原文地址:https://www.9cbs.com/read-133387.html

New Post(0)