Created
July 18, 2021 16:50
-
-
Save josikie/c08734882cdc6d658e3241b632ddc49e to your computer and use it in GitHub Desktop.
Membuat Function atau Method Pada Bahasa Pemrograman Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// class dengan access modifier public | |
public class KelasPublik{ | |
// variabel dengan access modifier public | |
public String variabelPublik; | |
//method dengan access modifier public | |
public void methodPublik{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment