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

  • SEARCH
  • Home
  • 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 656765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:45:00+00:00 2026-05-13T22:45:00+00:00

Why was java defined such that methods may take as input multiple parameters, but

  • 0

Why was java defined such that methods may take as input multiple parameters,
but may only return a single object (or void)?

Did it make the language somehow easier to implement or use?

  • 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-13T22:45:00+00:00Added an answer on May 13, 2026 at 10:45 pm

    Probably because this is the way that C and C++ do it, and the Java language syntax is very similar to (and probably based on) those languages.

    In fact, according to this article, Gosling started by extending the C++ compiler, so it makes sense that he would follow much of the same syntax:

    To make development a more platform-neutral process (and thus accommodate the consumer market’s demand for CPU flexibility), Gosling began by extending the C++ compiler.

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

Sidebar

Related Questions

I have similar methods that needs to be implemented for different concepts. But call
I'd like to implement a java method that uses generics in scala (2.9.2). But
I have a Java array defined already e.g. float[] values = new float[3]; I
Why there are two Color constants defined in java.awt.Color class? For instance public static
In Java I have a defined a string named year: String year=year(now())-1 Now I
MyActivity implements a CustomListener defined in MyClass.java. I have a function defined in MyClass
While you create a user defined class in Java, you do not specify it
I have a User Defined Function (UDF) written in Java to parse lines in
I have made a Java class where I have defined a constructor and some
In android R.java is used to provide access to resources defined in XML files.

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.