Differentiate between class and structure.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can interface be private in java?

0 Answers  


List the different types of classloaders in java.

0 Answers  


what is aggregation in java?

0 Answers   IBS,


What is a variable and constant?

0 Answers  


Explain the importance of finally block in java?

0 Answers  






Explain the usage of this with constructors?

0 Answers  


What are the two ways of implementing multi-threading in java?

1 Answers  


How do you insert a line break?

0 Answers  


What is parameter tag and what is its use?

1 Answers  


how system.out.println() works?

2 Answers  


Java support what type of parameter passing ?

7 Answers   Wipro,


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 Answers  


Categories