Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6854565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:38:56+00:00 2026-05-27T01:38:56+00:00

Should a method that returns an XML stream be called public Stream getXmlStream(); or

  • 0

Should a method that returns an XML stream be called

public Stream getXmlStream();

or instead

public Stream getXMLStream();

What’s your opinion about that? What’s considered best practice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:38:57+00:00Added an answer on May 27, 2026 at 1:38 am

    There is no one correct answer. This wiki extract is helpful:

    Programming identifiers often need to contain acronyms and initialisms
    which are already in upper case, such as “old HTML file”. By analogy
    with the title case rules, the natural camel case rendering would have
    the abbreviation all in upper case, namely “oldHTMLFile”. However,
    this approach is problematic when two acronyms occur together (e.g.,
    “parse DBM XML” would become “parseDBMXML”) or when the standard
    mandates lower camel case but the name begins with an abbreviation
    (e.g. “SQL server” would become “sQLServer”). For this reason, some
    programmers prefer to treat abbreviations as if they were lower case
    words and write “oldHtmlFile”, “parseDbmXml” or “sqlServer”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a method that returns lot of data, should I use @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) for
There is a programming rule that says that a method should instead of asking
What return type should one return from a method that is getting rows from
Should a method that implements an interface method be annotated with @Override ? The
I just want that my program or method should run at specific date and
When creating methods, should every object instantiated inside that method be passed in as
How do you declare a method in C# that should be overridden (or overridable)
Should I be retaining the responseData that I am returning // METHOD -(NSData *)dataFromTurbine:(NSString
I know that I should have schema of a table before calling NewRow method
I have always thought that the .equals() method in java should be overridden to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.