What the hell is wrong with calling showArray in the main method!!

Updated on society 2024-05-04
14 answers
  1. Anonymous users2024-02-09

    Can the landlord clearly express the meaning of the program you want to write?

    class mytest01;

    Or. class mytest01;

    mytest01 mt=new mytest01(f);;

  2. Anonymous users2024-02-08

    Hello landlord.,Your kebiancanshu class doesn't write the main method.,Hope.。

  3. Anonymous users2024-02-07

    Array I like int i this way, the landlord is the way the C series is written, off topic.

  4. Anonymous users2024-02-06

    Dialog is divided into two parts: 1, initialize dialog 2, and let dialog pop up.

    This problem should be caused by the fact that you called the popup method before initialization.

  5. Anonymous users2024-02-05

    1.In your test class, write something like this:

    int num, phonenum;

    string name,address, work;

    public test(int num, string name,int phonenum,string address,string work)

    public int getnum()

    Public int getphonenum()public string getname()public string getaddress()public string getwork()2.

    for(int i=0;i Testing**.

    public static void main(string args)

    This will work out.

  6. Anonymous users2024-02-04

    Can you be specific about your problem?

  7. Anonymous users2024-02-03

    It should be a problem with the server, debug it well, and good luck.

  8. Anonymous users2024-02-02

    Array does not have a bubble method for an array reference of type int (it is recommended that you use lowercase letters for the reference), so an error will be reported when the main method is called. The array should be passed as a parameter to the bubble method. main method call.

    bubble(array);

    The array reference and bubble method still need to be declared static.

  9. Anonymous users2024-02-01

    if should be judged array[j] and array[j+1];

    j starts at 0, jarray1[j+1])} for(i=0; i< ;i++)

  10. Anonymous users2024-01-31

    static string showarray(inta) is a string in the array, and the showarray() method is used to get a string, of course, you can't use a[0] (i.e., the value of the array) to get the data.

  11. Anonymous users2024-01-30

    Change a[i] to a[0] in the output there, don't you know if you can output it?

    Mine is able to output.

    public class testtry

    s = s + "";

    return s;

    public static void main(string args);}

  12. Anonymous users2024-01-29

    Is there a display? Are you not running it right? The results of running on my machine 4451395

    Establish 10 random numbers as follows:

  13. Anonymous users2024-01-28

    No, I ran out, no problem. Running Result:

    Establish 10 random numbers as follows:

  14. Anonymous users2024-01-27

    Every time you change the s value, you can use the direct output s to see it.

Related questions
23 answers2024-05-04

Do you think you and your current boyfriend will be happy? If the answer is yes, then you don't regret it, getting married is a very happy thing. For raising your younger siblings and helping your father reduce his burden, you can send money back, why do you have to go back? >>>More

14 answers2024-05-04

He must like you very much, as you said, he is a shy person, maybe he is afraid to say it directly, and he will feel very embarrassed when you don't accept him, and he doesn't know how to face you. You ask yourself, do you like him? Why do you think you can't be together? >>>More

5 answers2024-05-04

It's hard to love someone, and it's even harder to give up your beloved. Love makes people forget time, and time also makes people forget love. Loneliness is not something you are born with, but it starts the moment you fall in love with someone. >>>More

27 answers2024-05-04

Men and women have always had different ideas, women pay more attention to feelings, in fact, men are not wrong, women are not wrong, but women, more need men's care, more coaxing, three hours of supper is a bit long It is also possible that the woman said that she didn't want to eat supper, in fact, she hoped that you would not eat supper and go home early, you did not understand her deep meaning, if women are more hypocritical, it is very tiring to be a man, it is best for two people to sit down and communicate calmly to understand each other's true feelings, Communication is more important than anything else

5 answers2024-05-04

After having ureteral stones, the most common symptom is pain, and most of them are sudden colic, and can be accompanied by cold sweat, nausea, vomiting, frequent urination, urgency, painful urination, difficulty urinating, and even chills and fever.