Java Example Program to Shutdown Restart and Log off your Windows Computer

Опубликовано: 08 Октябрь 2024
на канале: Example Program
7,435
78

in this video you will learn to create an example / sample program to shutdown restart and logoff your windows computer in java programming language.

Here in this tutorial we are using the exec method available in the Runtime class.

We will be using the shutdown program available in the windows operating system stored at c:\\windows\\system32

our Social Media Pages
  / exampleprogram  
  / exampleprogram  
  / examplecomputerprogram  

Our Website
https://www.ExampleProgram.com

#JavaProgramming #ExampleProgram