✨ 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
    • Implementing the Data Model
    • Close
  • Mohammad Abdur Rahman
    Mohammad Abdur Rahman
    1,986 Points

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

    Posted on Mar 2, 2017 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 on Dec 22, 2016 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 on Jul 15, 2016 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 on Jul 11, 2016 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 on May 31, 2016 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 on Feb 13, 2016 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 on Feb 5, 2016 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 on Feb 4, 2016 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 on Dec 18, 2015 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 on Sep 21, 2015 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 on Jul 15, 2015 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 on Jul 10, 2015 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 on Jul 9, 2015 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 on May 6, 2015 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.