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 8519649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:18:29+00:00 2026-06-11T06:18:29+00:00

If a method’s return type is int and if it return’s -1 what does

  • 0

If a method’s return type is int and if it return’s -1 what does it actually mean?

public int handle_get_multi_leg_net_quote(Message mmsg) throws Exception {          
        if (null != t) {
                     return 1;
        }
        return -1;
    }
  • 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-06-11T06:18:31+00:00Added an answer on June 11, 2026 at 6:18 am

    It appears to be a code written in another language, maybe it was supposed to be a boolean or even another type of data. One thing you could do is understand what it does in the other language before adapt it to Java.

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

Sidebar

Related Questions

The method onCreate(Bundle) is undefined for the type AppWidgetProvider public class SupermarioActivity<imageButton1> extends AppWidgetProvider
Inside Method A, there is method B. Method B throws exception, but method A
A method; Sterling operator+(const Sterling& o) const { return Sterling(*this) += o; } Does
Method '+systemFontSize:' not found (return type defaults to 'id') 'UIFont' may not respond to
//method public static String foo(String s) { if (s.length() == 1) return s; else
// Method One class ClassName { public: ClassName() : m_vecInts() {} private: std::vector<int> m_vecInts;
This method notifes an event loop to start processing a message. However, if the
Method declaration, -(UILabel *)returnUILabel:(UILabel *)myLabel color:(UIColor *)labelColor x:(int)xParameter y:(int)yParamater width:(int)widthParameter height:(int)heightParameter { CGRect cellFrame
Method 'Private Sub trigger_Triggered(sender As Object, e As OamsIDD.VoamsWorldIDD.OamsStateChangeEventArgs)' cannot handle event 'Public Event
Method 1: InetAddress addr = InetAddress.getByName(192.168.0.101); int port = 18250; Socket socket = new

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.