Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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");
}
}


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

Post New Answer

More Core Java Interview Questions

Is overriding possible in java?

0 Answers  


What is variable explain with example?

0 Answers  


How many wrapper classes are there in java?

0 Answers  


What is the difference between and ?

0 Answers  


Can we clone singleton class in java?

0 Answers  


Can we add default constructor to Servlet?

1 Answers   Fidelity,


Is object a data type in java?

0 Answers  


What is meant by memory leak?

0 Answers  


How do you use wildcards?

0 Answers  


What is a local block?

0 Answers   Global Logic,


Is main an identifier?

0 Answers  


Which oo concept is achieved by using overloading and overriding?

0 Answers  


Categories