题目内容

一条直线的正面投影与坐标轴X平行,另一条直线的正面投影与之正面投影垂直,空间当中两直线垂直。

A. 对
B. 错

查看答案
更多问题

空间当中两直线垂直,其中一条直线为侧平线,那么它们的侧面投影互相垂直。

A. 对
B. 错

Each time a method is invoked, the system stores parameters and local variables in an area of memory, known as _______, which stores elements in last-in first-out fashion.

A. an array
B. a heap
C. a stack
D. storage area

Java allows you to declare methods with the same name in a class. This is called ________.

A. method redeclaration
B. method overloading
C. method overriding
D. method duplication

Analyze the following code: public class Test {public static void main(String[] args) {System.out.println(xMethod(5, 500L));} public static int xMethod(int n, long l) {System.out.println("int, long");return n;} public static long xMethod(long n, long l) {System.out.println("long, long");return n;} }

A. The program does not compile because the compiler cannot distinguish which xmethod to invoke.
B. The program runs fine but displays things other than 5.
C. The program displays long, long followed by 5.
D. The program displays int, long followed by 5.

答案查题题库