Click here to Skip to main content
13,293,369 members (54,203 online)
   

Java

 
AnswerRe: synchronized Pin
BobJanova13-Nov-12 23:41
memberBobJanova13-Nov-12 23:41 
GeneralRe: synchronized Pin
Manfred R. Bihy14-Nov-12 0:00
mvpManfred R. Bihy14-Nov-12 0:00 
QuestionJava code Convert to C# Pin
LAPEC13-Nov-12 13:03
memberLAPEC13-Nov-12 13:03 
AnswerRe: Java code Convert to C# Pin
Bernhard Hiller13-Nov-12 22:14
memberBernhard Hiller13-Nov-12 22:14 
GeneralRe: Java code Convert to C# Pin
LAPEC14-Nov-12 1:19
memberLAPEC14-Nov-12 1:19 
QuestionRe: Java code Convert to C# Pin
Blikkies14-Nov-12 2:06
memberBlikkies14-Nov-12 2:06 
GeneralRe: Java code Convert to C# Pin
Richard MacCutchan14-Nov-12 2:34
mvpRichard MacCutchan14-Nov-12 2:34 
AnswerRe: Java code Convert to C# Pin
Richard MacCutchan13-Nov-12 22:16
mvpRichard MacCutchan13-Nov-12 22:16 
AnswerRe: Java code Convert to C# Pin
Dave Doknjas17-Nov-12 4:17
memberDave Doknjas17-Nov-12 4:17 
QuestionTower of hanoi in java Pin
prog.sidra11-Nov-12 22:19
memberprog.sidra11-Nov-12 22:19 
AnswerRe: Tower of hanoi in java Pin
Richard MacCutchan11-Nov-12 22:49
mvpRichard MacCutchan11-Nov-12 22:49 
AnswerRe: Tower of hanoi in java Pin
TorstenH.12-Nov-12 1:22
memberTorstenH.12-Nov-12 1:22 
GeneralRe: Tower of hanoi in java Pin
prog.sidra12-Nov-12 20:58
memberprog.sidra12-Nov-12 20:58 
QuestionIf element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
Asad JOgi11-Nov-12 20:26
memberAsad JOgi11-Nov-12 20:26 
class Matrix{
public static void main(String []args){
 
    int ArrayMatrix [] [] = {
                 {1,0,0,0,0},
                 {0,1,0,0,0},
                 {0,0,1,0,0},
                 {0,0,0,1,0},
                 {0,0,0,0,1},
 
                };
 
    int l = ArrayMatrix.length;
    int i,j;
    boolean a=true;
    boolean b=false;
 
    for( i=0;i<l;i++)
    {
 
       for(j=0;j<l;j++)
       {
                System.out.print(ArrayMatrix[i][j]+" ");
        /*
 
            //if(ArrayMatrix[i][j]==1)
            if(boolean b==true)
            {
            System.out.println("Matrix is Unit");
            }
 
            else
            {
            System.out.println("Matrix is not Unit");
            }
        */
 

       }//end inner for
 
        System.out.println("");
 
    }//end outer for
 
    System.out.println("\n Array is Unit Matrix");
    
 
}//end main Method
}//end class Matrix

Asad Ali Jogi


modified 12-Nov-12 1:43am.

AnswerRe: If element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
TorstenH.11-Nov-12 22:15
memberTorstenH.11-Nov-12 22:15 
AnswerRe: If element in diagonal is 1 then its unit matrix , else it's not unit matrix Pin
BobJanova13-Nov-12 1:06
memberBobJanova13-Nov-12 1:06 
QuestionError show ImageIcon ??? Pin
nghia09t39-Nov-12 20:34
membernghia09t39-Nov-12 20:34 
AnswerRe: Error show ImageIcon ??? Pin
Richard MacCutchan10-Nov-12 0:32
mvpRichard MacCutchan10-Nov-12 0:32 
AnswerRe: Error show ImageIcon ??? Pin
TorstenH.10-Nov-12 15:02
memberTorstenH.10-Nov-12 15:02 
GeneralRe: Error show ImageIcon ??? Pin
Gowtham Gutha15-Nov-12 7:46
memberGowtham Gutha15-Nov-12 7:46 
GeneralRe: Error show ImageIcon ??? Pin
TorstenH.15-Nov-12 10:00
memberTorstenH.15-Nov-12 10:00 
GeneralRe: Error show ImageIcon ??? Pin
Gowtham Gutha16-Nov-12 8:08
memberGowtham Gutha16-Nov-12 8:08 
GeneralRe: Error show ImageIcon ??? Pin
TorstenH.18-Nov-12 20:10
memberTorstenH.18-Nov-12 20:10 
AnswerRe: Error show ImageIcon ??? Pin
Gowtham Gutha15-Nov-12 7:43
memberGowtham Gutha15-Nov-12 7:43 
Questionhow to create digital survey android and php?? Pin
Luis Antonio Mantilla9-Nov-12 13:22
memberLuis Antonio Mantilla9-Nov-12 13:22 
QuestionAny Java Book Recommend Pin
waylife7-Nov-12 20:14
memberwaylife7-Nov-12 20:14 
AnswerRe: Any Java Book Recommend Pin
Peter_in_27808-Nov-12 2:13
memberPeter_in_27808-Nov-12 2:13 
GeneralRe: Any Java Book Recommend Pin
waylife12-Nov-12 23:07
memberwaylife12-Nov-12 23:07 
AnswerRe: Any Java Book Recommend Pin
Gowtham Gutha9-Nov-12 10:02
memberGowtham Gutha9-Nov-12 10:02 
GeneralRe: Any Java Book Recommend Pin
waylife12-Nov-12 23:08
memberwaylife12-Nov-12 23:08 
GeneralRe: Any Java Book Recommend Pin
Gowtham Gutha15-Nov-12 1:22
memberGowtham Gutha15-Nov-12 1:22 
GeneralRe: Any Java Book Recommend Pin
waylife15-Nov-12 4:10
memberwaylife15-Nov-12 4:10 
GeneralRe: Any Java Book Recommend Pin
waylife14-Nov-12 1:54
memberwaylife14-Nov-12 1:54 
AnswerRe: Any Java Book Recommend Pin
Ivan Melnikov1-Jul-13 23:38
memberIvan Melnikov1-Jul-13 23:38 
QuestionHow to create/set an element of a document Pin
prithaa6-Nov-12 4:43
memberprithaa6-Nov-12 4:43 
AnswerRe: How to create/set an element of a document Pin
padmanabanproject7-Nov-12 20:58
memberpadmanabanproject7-Nov-12 20:58 
GeneralRe: How to create/set an element of a document Pin
prithaa4-Dec-12 4:55
memberprithaa4-Dec-12 4:55 
Questionhow to Use Java to get the database info by Internet Protocol Pin
XMafei5-Nov-12 5:03
memberXMafei5-Nov-12 5:03 
AnswerRe: how to Use Java to get the database info by Internet Protocol Pin
Richard MacCutchan5-Nov-12 6:24
mvpRichard MacCutchan5-Nov-12 6:24 
GeneralRe: how to Use Java to get the database info by Internet Protocol Pin
XMafei5-Nov-12 14:58
memberXMafei5-Nov-12 14:58 
GeneralRe: how to Use Java to get the database info by Internet Protocol Pin
Richard MacCutchan5-Nov-12 23:13
mvpRichard MacCutchan5-Nov-12 23:13 
AnswerRe: how to Use Java to get the database info by Internet Protocol Pin
jschell5-Nov-12 9:33
memberjschell5-Nov-12 9:33 
Questionaddress book in java Pin
Shah Baba5-Nov-12 4:19
memberShah Baba5-Nov-12 4:19 
AnswerRe: address book in java Pin
Richard MacCutchan5-Nov-12 4:24
mvpRichard MacCutchan5-Nov-12 4:24 
Questionhi Pin
Md Abdullah Al Masud4-Nov-12 20:00
memberMd Abdullah Al Masud4-Nov-12 20:00 
Questionjava progarm Pin
hardikv923-Nov-12 23:45
memberhardikv923-Nov-12 23:45 
AnswerRe: java progarm Pin
Richard MacCutchan4-Nov-12 3:05
mvpRichard MacCutchan4-Nov-12 3:05 
AnswerRe: java progarm Pin
Gowtham Gutha15-Nov-12 2:15
memberGowtham Gutha15-Nov-12 2:15 
AnswerRe: java progarm Pin
Member 1111060025-Sep-14 17:52
memberMember 1111060025-Sep-14 17:52 
QuestionUpdating content of JtextField through jbutton in sql server 2005 using netbeans ide and jdk 1.6 Pin
Member 95656712-Nov-12 1:14
memberMember 95656712-Nov-12 1:14 

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.


Advertise | Privacy |
Web04 | 2.8.171207.1 | Last Updated 9 Dec 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid