InterviewSolution
Saved Bookmarks
| 1. |
Will The Following Class Compile? If Not, Why? public Final Class Algorithm { Public Static T Max(t X, T Y) { Return X > Y ? X : Y; } } |
|
Answer» No. The greater than (>) OPERATOR applies only to primitive NUMERIC types. No. The greater than (>) operator applies only to primitive numeric types. |
|