Skip to content

Instantly share code, notes, and snippets.

View fahmifan's full-sized avatar

fahmi irfan fahmifan

View GitHub Profile
@fahmifan
fahmifan / TryEnumeration.java
Created November 21, 2018 00:20
example use of Enumeration type in java language
import java.util.Vector;
import java.util.Enumeration;
import java.util.ArrayList;
import java.util.List;
public class TryEnumeration {
public static void main(String args[]) {
// Enumeration accept Type T, it called Generics
Enumeration<String> days;
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity"
android:orientation="vertical">