Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial1 Answer
Kevin Faust
15,353 PointsHi do this inside your code:
@Override
public String toString() {
return "BlogPost:" + mTitle + "by" + mAuthor;
}
When you try to call a BlogPost object as a String value, it will return the above String
jinhwa yoo
10,042 Pointsμ΄λ €μ΄λ° μλΆνν΄μ...
jinhwa yoo
10,042 Pointsλ΅μ΄ μλλ°μ?????
Kevin Faust
15,353 Pointsμ λ§μ?? μ¬κ° λ€μ νλλ°, λ¬Έμ μμμ΄μ
jinhwa yoo
10,042 Pointsμ ν΄κ²°λμ΄μ.. λ€λ₯Έ λ¬Έμ μμ΄μ... κ°μ¬ν΄μ
Kevin Faust
15,353 Pointsγ γ κ·Έλ κ΅°μ. μμΌλ‘ νμ΄ν !
jinhwa yoo
10,042 Pointsκ·Έλ°λ° λ무 μ΄λ €μμ.. νΉμ λ©μ μ λ νμ΄μ€λΆμλμ? μΉκ΅¬μΆκ° ν λ €κ΅¬μ..γ γ μ€μκ° μΌλ‘ λ¬Όμ΄λ³Όλ €κ΅¬μ
Kevin Faust
15,353 Pointsγ γ λ§μμ. μ΄κ±° μμ² μ΄λ €μμ. κ·Όλ° μ¬μ€μ΄ μμ¦ μκ° μμΌλκΉ λμμ€ μ μμ΄μ. λν μνμ λ€μ μ£Ό μμν΄μ γ γ . μ£μ‘ν΄μ
Grigorij Schleifer
10,365 PointsGrigorij Schleifer
10,365 PointsHey jinhwa,
can you post your code pleae?