• 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
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

What is the answer?  RSS feed

 
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: 4590
288
Clojure IntelliJ IDE Java
  • 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: 3246
287
Android Chrome Eclipse IDE
  • 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: 4277
35
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!