Boiler Plate for Markdown Posting
Assalamualaikum folks,
Heading 1 #
Heading 2 #
Heading 3 #
Heading 4 #
tulisan biasa
ini adalah sebuah quotes
huruf ini akan miring ketika tampil
huruf ini akan tebal ketika tampil
aku sebuah kode sebaris
syntax highlighter multiple line :
import java.util.Scanner; // Import the Scanner class
class Main {
public static void main(String[] args) {
Scanner myObj = new Scanner(System.in); // Create a Scanner object
System.out.println("Enter username");
String userName = myObj.nextLine(); // Read user input
System.out.println("Username is: " + userName); // Output user input
}
}
// Import the HashMap class
import java.util.HashMap;
public class Main {
public static void main(String[] args) {
// Create a HashMap object called capitalCities
HashMap<String, String> capitalCities = new HashMap<String, String>();
// Add keys and values (Country, City)
capitalCities.put("England", "London");
capitalCities.put("Germany", "Berlin");
capitalCities.put("Norway", "Oslo");
capitalCities.put("USA", "Washington DC");
System.out.println(capitalCities);
}
}
- aku
- kamu
- dia
- ini list
- satu
- dua
- tiga
- empat
Photo by K. Mitch Hodge on Unsplash