Can we use a switch statement with strings?


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

Post New Answer

More Core Java Interview Questions

What is protected in java?

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,


What do you understand by garbage collection in Java? Can it be forced to run?

0 Answers   TCS,


What is final keyword in java?

0 Answers  


can u override the start() method of Thread class

5 Answers  


What is string in java is it a data type?

0 Answers  


byte a=5; byte b=5; byte c=a+b; System.out.println(c); whats the o/p?

7 Answers   NIIT, Wipro,


What is passed by reference and pass by value ?

0 Answers  


What is the disadvantage of synchronization?

0 Answers  


What is instance example?

0 Answers  


What is the difference between Stream Reader and Stream Writer?

4 Answers  


Can I extend singleton class in java?

0 Answers  


Categories