Click here to Skip to main content
15,912,400 members
Home / Discussions / Java
   

Java

 
GeneralRe: Designing oop Pin
427748014-Oct-09 11:00
427748014-Oct-09 11:00 
QuestionJava Datagrid! [modified] Pin
Yonathan111114-Oct-09 3:39
professionalYonathan111114-Oct-09 3:39 
AnswerRe: Java Datagrid! Pin
Richard MacCutchan14-Oct-09 5:58
mveRichard MacCutchan14-Oct-09 5:58 
AnswerRe: Java Datagrid! Pin
427748014-Oct-09 8:22
427748014-Oct-09 8:22 
QuestionSOA programing interfaces ? Pin
thanhle35913-Oct-09 3:48
thanhle35913-Oct-09 3:48 
AnswerRe: SOA programing interfaces ? Pin
427748014-Oct-09 8:23
427748014-Oct-09 8:23 
GeneralRe: SOA programing interfaces ? Pin
thanhle35919-Oct-09 3:02
thanhle35919-Oct-09 3:02 
QuestionSort Array in ascending and descding Pin
nt_virus13-Oct-09 3:33
nt_virus13-Oct-09 3:33 
Hi.

I m running this code.

import java.util.*;
public class Main{
    public static void main(String[] args) {
 int[] value = {2,1,3,6,5};
         System.out.println(value);       // Print unsorted array.
        Arrays.sort(value); // Sort array
        System.out.println(value);       //
    }}


The output is showing..

run:
[I@3e25a5
[I@3e25a5

why is it so.. I m confused.. Please help me. Also please tell me how to do in descending order by user input. Collections class will do with List
AnswerRe: Sort Array in ascending and descding Pin
Richard MacCutchan13-Oct-09 4:51
mveRichard MacCutchan13-Oct-09 4:51 
GeneralRe: Sort Array in ascending and descding Pin
nt_virus13-Oct-09 5:25
nt_virus13-Oct-09 5:25 
GeneralRe: Sort Array in ascending and descding Pin
Richard MacCutchan13-Oct-09 6:27
mveRichard MacCutchan13-Oct-09 6:27 
GeneralRe: Sort Array in ascending and descding Pin
nt_virus13-Oct-09 19:16
nt_virus13-Oct-09 19:16 
GeneralRe: Sort Array in ascending and descding Pin
Richard MacCutchan13-Oct-09 22:28
mveRichard MacCutchan13-Oct-09 22:28 
GeneralRe: Sort Array in ascending and descding Pin
nt_virus13-Oct-09 23:50
nt_virus13-Oct-09 23:50 
GeneralRe: Sort Array in ascending and descding Pin
Richard MacCutchan14-Oct-09 1:08
mveRichard MacCutchan14-Oct-09 1:08 
GeneralRe: Sort Array in ascending and descding Pin
427748014-Oct-09 8:26
427748014-Oct-09 8:26 
GeneralRe: Sort Array in ascending and descding Pin
Richard MacCutchan14-Oct-09 8:41
mveRichard MacCutchan14-Oct-09 8:41 
GeneralRe: Sort Array in ascending and descding Pin
nt_virus14-Oct-09 18:47
nt_virus14-Oct-09 18:47 
QuestionPDF2xhtml Pin
sharkbc12-Oct-09 18:45
sharkbc12-Oct-09 18:45 
AnswerRe: PDF2xhtml Pin
Nagy Vilmos12-Oct-09 21:54
professionalNagy Vilmos12-Oct-09 21:54 
AnswerRe: PDF2xhtml Pin
427748014-Oct-09 8:28
427748014-Oct-09 8:28 
QuestionJava and .NET Pin
trazomtg9-Oct-09 23:14
trazomtg9-Oct-09 23:14 
AnswerRe: Java and .NET Pin
427748010-Oct-09 8:32
427748010-Oct-09 8:32 
Question[Message Deleted] Pin
s_a_2002639-Oct-09 2:18
s_a_2002639-Oct-09 2:18 
AnswerRe: Array Subsequence Pin
David Skelly9-Oct-09 2:33
David Skelly9-Oct-09 2:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.