Variables used in a switch statement can be used with which datatypes?


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

Post New Answer

More Core Java Interview Questions

Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target

7 Answers   Infosys, WW,


How do you read a char in java?

0 Answers  


What is the difference between serialization and deserialization?

3 Answers   ABC,


Can you change array size in java?

0 Answers  


What purpose do the keywords final, finally, and finalize fulfill?

0 Answers  






What is the basic concepts of OOPS?

0 Answers   BlackRock,


What is array class in java?

0 Answers  


What is the purpose of the System class?

0 Answers  


What is the default value of byte datatype in java?

0 Answers  


What is final method?

0 Answers  


What is a generic code?

0 Answers  


What is the difference between Static and final?

1 Answers  


Categories