Java Programming Language Tutorial (Sum) #1

in #tutorial7 years ago (edited)

I will discuss about Summing Programming Example in Java with GUI view. Later we must meet with all operators calculations in java. But at this point, I will focus on the sum. Well, let's keep up with the following posts

Now we try to use with GUI, note the code below:
Use notepad ++ as a place of coding
q.JPG

after making the code above then save it in the folder in accordance with your wishes. name the file with the same as PUBLIC CLASS that is penjumlahan.

after the save then call the program through the command prompt, and remember previously installed JAVA JDK (Java JDK is a software used to compile from java code to bytecode that can be understood and can be run by JRE (Java Runtime Envirotment).

do the following to show the program you have created:
Open Command Prompt and then call the saved file as shown below
1.JPG

Press enter and continue by typing java penjumlahan
2.JPG

Then the dialog will come out like this picture
3.JPG

Enter the value according to your wishes and just press 'okay' to proceed to the next stage, until finished. just look like the picture below:
3.JPG
4.JPG
5.JPG

Easy to friends :)

Sort:  

Good Posting
Menambang bitcoin Gratis langsung dari Chrome (baru 2 bulan) khusus pengguna komputer atau laptop dan menjadi add on disana dengan cara klik disini
Untuk lebih jelas anda dapat membaca tutorial ini