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

New No-Code Track! 🚀 New videos dropping every week—start learning today!

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

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and 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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Mohammad Abdur Rahman
    Mohammad Abdur Rahman
    1,986 Points

    why are we using return with getter and not with setter??

    Posted March 2, 2017 8:17am by Mohammad Abdur Rahman
    Mohammad Abdur Rahman
    1,986 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    0 Answers

  • yadin michaeli
    PLUS
    yadin michaeli
    Courses Plus Student 5,423 Points

    About the choice and page class ?

    Posted December 22, 2016 10:14am by yadin michaeli
    yadin michaeli
    Courses Plus Student 5,423 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    1 Answer

  • Eli Goodwin
    Eli Goodwin
    29,502 Points

    Downloaded project files because my copy got deleted... "Migrate Project to Gradle?"

    Posted July 15, 2016 2:17am by Eli Goodwin
    Eli Goodwin
    29,502 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    0 Answers

  • Rajeev Mohan
    PLUS
    Rajeev Mohan
    Courses Plus Student 281 Points

    Why activities are kept in UI package and not controller package?

    Posted July 11, 2016 1:08pm by Rajeev Mohan
    Rajeev Mohan
    Courses Plus Student 281 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    0 Answers

  • snehal ahire
    PLUS
    snehal ahire
    Courses Plus Student 42 Points

    getDrawable

    Posted May 31, 2016 9:55am by snehal ahire
    snehal ahire
    Courses Plus Student 42 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    1 Answer

  • Suleyman Orazgulyyev
    PLUS
    Suleyman Orazgulyyev
    Courses Plus Student 5,798 Points

    Setter or Constructor?

    Posted February 13, 2016 7:51pm by Suleyman Orazgulyyev
    Suleyman Orazgulyyev
    Courses Plus Student 5,798 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    2 Answers

  • Ayaz Alam
    Ayaz Alam
    169 Points

    Which computer you are using ben? I know it's a mac but which one?

    Posted February 5, 2016 12:36pm by Ayaz Alam
    Ayaz Alam
    169 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    0 Answers

  • Ayaz Alam
    Ayaz Alam
    169 Points

    Why we are storing image as int Variable?

    Posted February 4, 2016 7:29pm by Ayaz Alam
    Ayaz Alam
    169 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    1 Answer

  • Tom Finet
    Tom Finet
    7,027 Points

    How do getters and setters work?

    Posted December 18, 2015 2:29pm by Tom Finet
    Tom Finet
    7,027 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    1 Answer

  • amit maddheshiya
    amit maddheshiya
    2,189 Points

    in private Choice mChoice; don't have Choice option in menu & its showing error.

    Posted September 21, 2015 10:32am by amit maddheshiya
    amit maddheshiya
    2,189 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    0 Answers

  • Niyamat Almass
    Niyamat Almass
    8,176 Points

    What is the benefit of getter and setter method?

    Posted July 15, 2015 7:29am by Niyamat Almass
    Niyamat Almass
    8,176 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    1 Answer

  • John Sparrow
    PLUS
    John Sparrow
    Courses Plus Student 3,628 Points

    problem with Eclipse

    Posted July 10, 2015 8:06pm by John Sparrow
    John Sparrow
    Courses Plus Student 3,628 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    3 Answers

  • ziv brodie
    ziv brodie
    1,348 Points

    Why is it important that all of the getter and setter methods not include the "m" in their names?

    Posted July 9, 2015 3:50pm by ziv brodie
    ziv brodie
    1,348 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    1 Answer

  • MUZ140537 Kudakwashe Betera
    MUZ140537 Kudakwashe Betera
    4,875 Points

    generate

    Posted May 6, 2015 10:23am by MUZ140537 Kudakwashe Betera
    MUZ140537 Kudakwashe Betera
    4,875 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Implementing the Data Model

    1 Answer

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.