What is the use of using enum to declare a constant?


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

Post New Answer

More Core Java Interview Questions

What is toarray method in java?

0 Answers  


How many bytes are there?

0 Answers  


Explain the difference between the Boolean & operator and the && operator?

1 Answers  


What is the concatenation operator in java?

0 Answers   Aspire, Infogain,


Can we define a package statement after the import statement in java?

0 Answers  






Difference between stack and queue?

0 Answers   Flextronics,


Explain the difference between jdk, jre, and jvm?

0 Answers  


int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b; System.out.println("The value is"+a+b+c;

17 Answers   Honeywell,


why to use transient variables when static variables can be used for Serialization

4 Answers  


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

0 Answers  


what is abstract method with example?

6 Answers   Infosys, Virtusa,


Can singleton class be cloned?

0 Answers  


Categories