| Other Core Java Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| 10. class Nav{
11. public enum Direction { NORTH, SOUTH, EAST, WEST }
12. }
13. public class Sprite{
14. // insert code here
15. }
Which code, inserted at line 14, allows the Sprite class to
compile?
a)Direction d = NORTH;
b)Nav.Direction d = NORTH;
c)Direction d = Direction.NORTH;
d)Nav.Direction d = Nav.Direction.NORTH; |
| 2 |
| when we have to use final class in java? |
| 2 |
| Is 'sizeof' a keyword? |
| 7 |
| What are library required to connect to excel sheet. |
Cap-Gemini | 2 |
| How to send a request to garbage collector? |
| 3 |
| What is meant by Static query and Dynamic query? |
| 2 |
| how cani read a command line argument?(usingfile object). |
| 3 |
| How Marker Interfaces are instruct to complete the desired
need ? |
| 2 |
| Without creating a new object, How you can retrieve a
String or other object? |
| 1 |
| Difference between Web-based applications,Client-
Server applications and Distributed applications? |
Infosys | 3 |
| why we r not use pointers in corejava? |
Samsung | 2 |
| In what ways you can handle exception ? |
| 3 |
| |
| For more Core Java Interview Questions Click Here |