Java Program to Shutdown Computer

Added By: Editorial Staff | Last Updated: | In: Java Programming


In this post, I will explain about a Java program to shutdown computer. This is a very basic program in Java programming language. If you are Java beginners or want to start learning Java programming language, then this program will help you to understand the basic Java programming.

Java Program to Shutdown Computer

Before executing this program I assume you have configured Java in your computer. Copy the below program and create a file “ShutdownComputer.java” and execute it to shut down your computer.

Liked this tutorial? Do Like & share with your friends 🙂

Share this post!


About: Editorial Staff

Editorial Staff at FreeWebMentor is a team of professional developers leads by Prem Tiwari


Tags: , , , , , ,