Guyz, I know very well this are the codes to shutdown n restart windows....But wat iz the code to log-out Windows???

Restart:
Runtime.getRuntime().exec("shutdown -r -t 0");

Shutdown:
Runtime.getRuntime().exec("shutdown -s -t 0");