✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
    • Showing results for:
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model
    • Close
  • Tristan Bell
    Tristan Bell
    2,039 Points

    String

    Posted on Oct 26, 2016 by Tristan Bell
    Tristan Bell
    2,039 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • Hammad Shafiq
    Hammad Shafiq
    623 Points

    The code is correct but the compiler gives an error

    Posted on Oct 8, 2016 by Hammad Shafiq
    Hammad Shafiq
    623 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • Gnani Pasupula
    Gnani Pasupula
    3,915 Points

    Syntax errors

    Posted on Apr 19, 2016 by Gnani Pasupula
    Gnani Pasupula
    3,915 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • Bryan Beemer
    PLUS
    Bryan Beemer
    Courses Plus Student 1,138 Points

    I can't get this to work, cant figure out what is wrong!

    Posted on Mar 25, 2016 by Bryan Beemer
    Bryan Beemer
    Courses Plus Student 1,138 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    2 Answers

  • Robert Kendall
    Robert Kendall
    1,287 Points

    Bummer! The naming convention is 'getVariableName' (without the 'm' prefix).

    Posted on Aug 15, 2015 by Robert Kendall
    Robert Kendall
    1,287 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • Sundarabalaji Kishore
    Sundarabalaji Kishore
    1,677 Points

    Naming Convention Error

    Posted on Jun 28, 2015 by Sundarabalaji Kishore
    Sundarabalaji Kishore
    1,677 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • MUZ140881 Munyaradzi Dhodho
    MUZ140881 Munyaradzi Dhodho
    1,326 Points

    Getter and setter methods

    Posted on Jun 25, 2015 by MUZ140881 Munyaradzi Dhodho
    MUZ140881 Munyaradzi Dhodho
    1,326 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • alex gwartney
    alex gwartney
    8,849 Points

    The quiz is saying that my set method is wrong and i cant seem to see why its not working?

    Posted on May 24, 2015 by alex gwartney
    alex gwartney
    8,849 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    3 Answers

  • MUZ140721 Bothwell Nhidza
    MUZ140721 Bothwell Nhidza
    6,967 Points

    How do you add getters and setter in Android java?

    Posted on May 11, 2015 by MUZ140721 Bothwell Nhidza
    MUZ140721 Bothwell Nhidza
    6,967 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    3 Answers

  • MUZ140721 Bothwell Nhidza
    MUZ140721 Bothwell Nhidza
    6,967 Points

    Would like to review past video, looks like I rushed to the challenge

    Posted on May 11, 2015 by MUZ140721 Bothwell Nhidza
    MUZ140721 Bothwell Nhidza
    6,967 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    0 Answers

  • MUZ140668 Gilbert Sibanda
    MUZ140668 Gilbert Sibanda
    4,918 Points

    Finally, add a setter method! whats wrong with my code?

    Posted on Apr 29, 2015 by MUZ140668 Gilbert Sibanda
    MUZ140668 Gilbert Sibanda
    4,918 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    3 Answers

  • Michael Partridge
    Michael Partridge
    7,129 Points

    Do you mean private?

    Posted on Apr 29, 2015 by Michael Partridge
    Michael Partridge
    7,129 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • Michael Moore
    Michael Moore
    13,564 Points

    illegal start

    Posted on Apr 27, 2015 by Michael Moore
    Michael Moore
    13,564 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • MUZ140584 Heredity Mbundire
    MUZ140584 Heredity Mbundire
    4,979 Points

    Finally, add the setter method!

    Posted on Apr 17, 2015 by MUZ140584 Heredity Mbundire
    MUZ140584 Heredity Mbundire
    4,979 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • MUZ140584 Heredity Mbundire
    MUZ140584 Heredity Mbundire
    4,979 Points

    Now add a String member variable named mType. Make it public.

    Posted on Apr 17, 2015 by MUZ140584 Heredity Mbundire
    MUZ140584 Heredity Mbundire
    4,979 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    3 Answers

  • MUZ140073 Lionell Matambanadzo
    MUZ140073 Lionell Matambanadzo
    12,509 Points

    the model view-controller pattern

    Posted on Jan 7, 2015 by MUZ140073 Lionell Matambanadzo
    MUZ140073 Lionell Matambanadzo
    12,509 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • MUZ140073 Lionell Matambanadzo
    MUZ140073 Lionell Matambanadzo
    12,509 Points

    The Model view controller pattern can you help

    Posted on Jan 6, 2015 by MUZ140073 Lionell Matambanadzo
    MUZ140073 Lionell Matambanadzo
    12,509 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • MUZ140073 Lionell Matambanadzo
    MUZ140073 Lionell Matambanadzo
    12,509 Points

    implementing the data mode

    Posted on Jan 6, 2015 by MUZ140073 Lionell Matambanadzo
    MUZ140073 Lionell Matambanadzo
    12,509 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • ma ali
    PLUS
    ma ali
    Courses Plus Student 2,788 Points

    Finally, add the setter method!

    Posted on Dec 22, 2014 by ma ali
    ma ali
    Courses Plus Student 2,788 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • ma ali
    PLUS
    ma ali
    Courses Plus Student 2,788 Points

    Next, we need getter and setter methods for our member variable. Let's start with the getter method. Add a method to get

    Posted on Dec 22, 2014 by ma ali
    ma ali
    Courses Plus Student 2,788 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    2 Answers

  • MUZ140118 Cathrine Makuya
    MUZ140118 Cathrine Makuya
    10,300 Points

    stage 3 challenge 3

    Posted on Dec 12, 2014 by MUZ140118 Cathrine Makuya
    MUZ140118 Cathrine Makuya
    10,300 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    1 Answer

  • MUZ140118 Cathrine Makuya
    MUZ140118 Cathrine Makuya
    10,300 Points

    stage 3 challenge 2

    Posted on Dec 12, 2014 by MUZ140118 Cathrine Makuya
    MUZ140118 Cathrine Makuya
    10,300 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating a Data Model

    5 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.