Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

What is the answer?

 
Greenhorn
Posts: 5
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the answer? I have seen this somewhere but I could not agree with the answer provided, can any one confirm.
Capture.PNG
[Thumbnail for Capture.PNG]
 
Sheriff
Posts: 4864
317
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

What do you think the answer is? Why?

Also, in future please don't use images to display text, use text to display text.
 
Creator of Enthuware JWS+ V6
Posts: 3339
303
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and please Quote your sources
 
Ak Mox
Greenhorn
Posts: 5
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The question is from one of the enthuware tests
According to the test, the  correct answer is
Beta 44
4 44
Beta 44
44 44
but I thought the correct the answer supposed to start like
4 Beta 44
...
...
since the print methods are referencing the variable b.h first  then call the b.getH()
 
Enthuware Software Support
Posts: 4426
41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you click on the "Discuss" button at the bottom of the question view, it will open an existing discussion on that question.
It will save you some time and effort if the discussion clears your doubt
 
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic