Can we use string in switch case in java?


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

Post New Answer

More Core Java Interview Questions

What is a deadlock ?

5 Answers  


What is the purpose of the finally clause?

3 Answers  


Where are local variables stored?

0 Answers  


How do I enable java in safari?

0 Answers  


What are the different collection views provided by maps?

0 Answers  






Can we store variables in local blocks?

0 Answers   Global Logic,


How can we find the sum of two linked lists using stack in java?

0 Answers  


What is the difference between static and non-static variables?

6 Answers  


What is difference between final and finally in java?

0 Answers   Cyient,


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


Can you override a private or static method in java?

1 Answers  


what is the difference between Java Command Line and C command Line?

2 Answers  


Categories