What are the new features in java 8? Explain
No Answer is Posted For this Question
Be the First to Post Answer
What is integer valueof?
who can we create the object of a class? in how many ways we can create it (max 5)
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"); } }
Can we extend private class in java?
Can we execute java program without main method?
how can you take care of mutual exclusion using java threads? : Java thread
Write a program to check for a prime number in java?
What is string pool in java?
Difference between final and effectively final ?
Can we have try block without catch block?
How strings are created in java?
What is difference between classpath and path variables in java?