package com.example.android.miwok;

/**
 * {@link Word} represents a vocabulary word that the user wants to learn.
 * It contains a default translation and a Miwok translation for that word.
 */

public class Word {

    //Default translation for the word
    private String mDeafaultTranslation;

    //Miwok translation for the word
    private String mMiwokTranslation;

    //Store image resource id to associate icon with word
    private int mImageResourceId;

    //Constructor which takes in two string parameters
    public Word(String defaultTranslation, String miwokTranslation) {
        mDeafaultTranslation = defaultTranslation;
        mMiwokTranslation = miwokTranslation;
    }

    /**
     * Get the default translation of the word
     */
    public String getDefaultTranslation() {
        return mDeafaultTranslation;
    }

    /**
     * Get the Miwok translation of the word
     */
    public String getMiwokTranslation() {
        return mMiwokTranslation;
    }

    /**
     * Get the image resource id of the word
     */
    public int getImageResourceID() {
        return mImageResourceId;
    }
}

@@ -29,16 +29,55 @@
 miwok;%0A%0A
+import java.lang.reflect.Constructor;%0A%0A
 /**%0A * %7B
@@ -508,57 +508,698 @@
    /
-/Constructor which takes in two string parameters
+**%0A     * Constructor which takes in two string parameters%0A     * @param defaultTranslation is the word in a English language%0A     * @param miwokTranslation is the word in Miwok language%0A     */%0A    public Word(String defaultTranslation, String miwokTranslation) %7B%0A        mDeafaultTranslation = defaultTranslation;%0A        mMiwokTranslation = miwokTranslation;%0A    %7D%0A%0A    /**%0A     * Constructor which takes in two string parameters and one image resource id%0A     * @param defaultTranslation is the word in a English language%0A     * @param miwokTranslation is the word in Miwok language%0A     * @param imageResourceID is the drawable resource id of the image associated with the word%0A     */
 %0A   
@@ -1253,32 +1253,53 @@
 miwokTranslation
+, int imageResourceID
 ) %7B%0A        mDea
@@ -1375,32 +1375,76 @@
 wokTranslation;%0A
+        mImageResourceId = imageResourceID;%0A
     %7D%0A%0A    /**%0A 

Add a second constructor which will have 3 input parameters