By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,730 Members | 1,500 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,730 IT Pros & Developers. It's quick & easy.

Java Class and Object

P: 1
Hi i am currently Java student and i am a bit confused, i have to create class for Cell Phone, so far so good i created class and i need to show info of three cellphone i created, it is good to, i created it and even create a public void showInfo() in order to show the info of each object now the next step i need to do is this:

Display only the modified attributes of the three objects. All outputs showing only the price of a cell phone (i.e. not the rest of the attributes) must be formatted.

I just don't understand the question i feel like i missed a bit in the class maybe because i didn't hear it (i have hearing disabilities) I tried to find anything that might help me to clarifiy in the lecture note and nada maybe I understood wrong but the way i understand is i need to show only modified value like for example: i create a cellphone with brand named Samsung, year 2014, price of $500 and i change the price to let say $350, it only show $350... Did I understand it right? if so I have no clue how to do it :( just need a direction to look or a hint https://nitroloan.onl/fedloan/ https://easytax.onl/irs/ https://citeref.com/easybib/
Dec 17 '19 #1
Share this Question
Share on Google+
1 Reply


dev7060
Expert 100+
P: 162
Display only the modified attributes of the three objects. All outputs showing only the price of a cell phone (i.e. not the rest of the attributes) must be formatted.
Use conditionals to check if the specific attribute is modified.
4 Weeks Ago #2

Post your reply

Sign in to post your reply or Sign up for a free account.