我如何在java家伙这个项目 [英] How do I this project in java guys

查看:66
本文介绍了我如何在java家伙这个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

导入java.util.Arrays并编写一个程序,该程序使用循环来要求用户输入五个
十进制数。数字存储在一个数组中。

用于toString方法显示未排序的数字数组,然后对

数组的数组进行排序,并使用toString方法显示数字排序数字。



我尝试过:



as现在我还没有尝试任何东西,如果你可以帮助我们

import java.util.Arrays and write a program that uses loop to ask the user to enter five
decimal numbers. The numbers are stored in an array.
Use for toString method to display the unsorted array of numbers and then sort the array of
numbers and use the toString method to display the sorted array of numbers.

What I have tried:

as at now i have not tried anything yet if you can help me guys

推荐答案

似乎是另一个功课问题,像这样http://www.codeproject.com/Questions / 1098165 /我这个项目在java中的家伙



如何打开你的教科书/笔记,编写一些代码,并询问SPECIFIC代码问题,而不是从一个空白的平板开始 - 甚至从'Hello World'Java程序开始,然后开始扩展它以做更多(这适用于你的两个问题,尽管当你完成这个问题时,你的下一个问题会更容易)



我是一个难的
seems like another homework question, like this http://www.codeproject.com/Questions/1098165/How-do-I-this-project-in-java-guys

how about opening your textbook/notes, writing some code, and asking SPECIFIC code questions, rather than starting with a blank slate - even start with a 'Hello World' Java program, then start extending it to do more (this applies to both of your questions, although by the time you've done this one, your next question will be easier)

Am I a hard a


- HELL YES - 但你不会对我们这样的事情 - 对我们来说,除非你发布代码,好/工作/丑陋/不工作,你没有尝试,还有足够的其他人提问并尽力让我们忙碌



顺便说一句 - 在java中你好世界



- HELL YES - but you wont learn anything like this - to us, unless you post code, good/working/ugly/not working, you're not trying, and there are enough other people asking questions and trying hard to keep us busy

btw - hello world in java

public class HelloWorld {

    public static void main(String[] args) {
        // Prints "Hello, World" to the terminal window.
        System.out.println("Hello, World");
    }

}


这篇关于我如何在java家伙这个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆