My Developer Connection Questions: The code in finally block will never get executed in the following program? True/False try { } Write an nearest equivalent of size operator in C. Hint: Use Runtime class. Which one is faster in java ? for(int i = 100000; i > 0; i--) {} for(int i = 1; i < 100001; i++) {} Which one is faster in java ? Math.max(a,b); Is Array operations are faster or of Vector. What will be the value of Point p after methods in a and b if the value before method call is (700,800). static void changePoint ( Point p) { p.x = 100; p.y=200;
Read full article from Java Traps: Java Interview Questions
No comments:
Post a Comment