Can we use String with switch case?


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

Post New Answer

More Core Java Interview Questions

Do we need to manually write Copy Constructor?

0 Answers   HCL,


What are access modifiers in Java ?

6 Answers  


What best practices should you follow while writing multithreaded code in java?

0 Answers  


what is static import in java? Explain

0 Answers  


What methods are called, When we navigate from one applet to another applet?

1 Answers  






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  


What is a memory leak in java?

0 Answers  


Why does java not support operator overloading?

0 Answers  


Explain the difference between Unicast and Multicast objects?

1 Answers  


Enlist diffrent types of inheritance supported by java?

0 Answers  


Where local and global variables are stored?

0 Answers  


What is an example of a boolean?

0 Answers  


Categories