Click here to Skip to main content
15,940,550 members
Home / Discussions / Java
   

Java

 
GeneralRe: The main purposes of learning java Pin
Ratul Thakur29-Jun-16 3:43
Ratul Thakur29-Jun-16 3:43 
AnswerRe: The main purposes of learning java Pin
Kimberly Weldon5-Jul-16 22:59
Kimberly Weldon5-Jul-16 22:59 
GeneralRe: The main purposes of learning java Pin
Richard MacCutchan6-Jul-16 0:56
mveRichard MacCutchan6-Jul-16 0:56 
GeneralRe: The main purposes of learning java Pin
Ratul Thakur8-Jul-16 1:05
Ratul Thakur8-Jul-16 1:05 
GeneralRe: The main purposes of learning java Pin
Richard MacCutchan8-Jul-16 3:05
mveRichard MacCutchan8-Jul-16 3:05 
GeneralRe: The main purposes of learning java Pin
Ratul Thakur8-Jul-16 1:03
Ratul Thakur8-Jul-16 1:03 
GeneralRe: The main purposes of learning java Pin
Pratik Temkar3-Aug-16 3:32
Pratik Temkar3-Aug-16 3:32 
Questionsimple question nested for loop to solve array problem Pin
Member 1259386520-Jun-16 4:29
Member 1259386520-Jun-16 4:29 
Hi guys I gave up on this code ! trying figure out how if condition became true ! since
Java
i
never will be greater than
Java
j



C#
	public static void main(String[] args){
	    int a[]={4,2,7};
	     
	    
	    for(int i=0; i< a.length ;i++) { // here i =0 then a[0]=4
	    
	        for(int j=i; j< a.length ;j++) { // here also j=i since i=0 then j=0 too,  a[0]= 4
	        
	        	if (a[i]>a[j]){ // when a[i] will be > than a[j]
	        		
	        	System.out.print("condition is match "); 
	        		
	        	}

	        }
	    }
}



i start with 0 
     j start with 0 
     j became 1 
     j became 2

i became 1 
   
     j start with 1 
     j became 2 
     

i became 2 
   
     j start with 2 
     

I got confuse ,  


modified 20-Jun-16 13:57pm.

AnswerRe: simple question nested for loop to solve array problem Pin
Richard Deeming20-Jun-16 5:46
mveRichard Deeming20-Jun-16 5:46 
GeneralRe: simple question nested for loop to solve array problem Pin
Member 1259386520-Jun-16 8:04
Member 1259386520-Jun-16 8:04 
GeneralRe: simple question nested for loop to solve array problem Pin
Richard Deeming20-Jun-16 9:09
mveRichard Deeming20-Jun-16 9:09 
GeneralRe: simple question nested for loop to solve array problem Pin
Member 125938652-Jul-16 17:52
Member 125938652-Jul-16 17:52 
Question3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
zarkerBlack20-Jun-16 0:43
zarkerBlack20-Jun-16 0:43 
AnswerRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
Richard Deeming20-Jun-16 1:40
mveRichard Deeming20-Jun-16 1:40 
GeneralRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
zarkerBlack20-Jun-16 3:09
zarkerBlack20-Jun-16 3:09 
GeneralRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
Richard MacCutchan20-Jun-16 4:00
mveRichard MacCutchan20-Jun-16 4:00 
GeneralRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
zarkerBlack21-Jun-16 3:17
zarkerBlack21-Jun-16 3:17 
GeneralRe: 3 x 3 plane,clockwise or counterclockwise rotate the four tiles Pin
Richard MacCutchan21-Jun-16 3:25
mveRichard MacCutchan21-Jun-16 3:25 
QuestionSerializing object to disc. Only retreives one object. Pin
larsp77714-Jun-16 1:42
larsp77714-Jun-16 1:42 
AnswerRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan14-Jun-16 3:47
mveRichard MacCutchan14-Jun-16 3:47 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77714-Jun-16 22:22
larsp77714-Jun-16 22:22 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan14-Jun-16 22:47
mveRichard MacCutchan14-Jun-16 22:47 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77714-Jun-16 23:28
larsp77714-Jun-16 23:28 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
Richard MacCutchan14-Jun-16 23:39
mveRichard MacCutchan14-Jun-16 23:39 
GeneralRe: Serializing object to disc. Only retreives one object. Pin
larsp77714-Jun-16 23:52
larsp77714-Jun-16 23:52 

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.