Can we create object of static class?
No Answer is Posted For this Question
Be the First to Post Answer
Is null function in java?
Difference between current previous versions of Java?
What is the memory leak in java?
What is prime number in java?
What is a variable analysis?
Define a java class.
Why stringbuilder is not thread safe?
there are some duplicate values in ArrayList, how U'll get that array with out duplicate?
what is d difference between deep cloning and shallow cloning in core java?
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"); } }
Is it necessary for the port addresses to be unique? Explain with reason.
How can we create a object of a class without using new operator.