Click here to Skip to main content
15,917,991 members
Home / Discussions / Java
   

Java

 
AnswerRe: Java Pin
Richard MacCutchan14-Oct-16 6:48
mveRichard MacCutchan14-Oct-16 6:48 
Questionjava Pin
Member 1189993512-Oct-16 0:54
Member 1189993512-Oct-16 0:54 
AnswerRe: java Pin
Richard MacCutchan13-Oct-16 21:10
mveRichard MacCutchan13-Oct-16 21:10 
QuestionHow to convert 2d array into 1d array in java Pin
Member 1278579110-Oct-16 4:33
Member 1278579110-Oct-16 4:33 
QuestionRe: How to convert 2d array into 1d array in java Pin
Richard MacCutchan10-Oct-16 4:55
mveRichard MacCutchan10-Oct-16 4:55 
AnswerRe: How to convert 2d array into 1d array in java Pin
Member 1278579110-Oct-16 5:35
Member 1278579110-Oct-16 5:35 
GeneralRe: How to convert 2d array into 1d array in java Pin
Richard MacCutchan10-Oct-16 6:12
mveRichard MacCutchan10-Oct-16 6:12 
GeneralRe: How to convert 2d array into 1d array in java Pin
Member 1278579110-Oct-16 6:29
Member 1278579110-Oct-16 6:29 
yup i got the idea and it works like this
int a[][]={{1,2,3},{4,5,6},{7,2,6}};
int b[] = new int[a.length*a.length];
System.out.print(b.length);
//output is 9
//is this the way of getting length of 2d into 1d array?
GeneralRe: How to convert 2d array into 1d array in java Pin
Richard MacCutchan10-Oct-16 6:38
mveRichard MacCutchan10-Oct-16 6:38 
GeneralRe: How to convert 2d array into 1d array in java Pin
Member 1278579110-Oct-16 6:48
Member 1278579110-Oct-16 6:48 
GeneralRe: How to convert 2d array into 1d array in java Pin
Richard MacCutchan10-Oct-16 7:13
mveRichard MacCutchan10-Oct-16 7:13 
GeneralRe: How to convert 2d array into 1d array in java Pin
Member 1278579110-Oct-16 7:18
Member 1278579110-Oct-16 7:18 
SuggestionRe: How to convert 2d array into 1d array in java Pin
Member 1279318014-Oct-16 0:24
Member 1279318014-Oct-16 0:24 
GeneralRe: How to convert 2d array into 1d array in java Pin
Member 1278579115-Oct-16 5:06
Member 1278579115-Oct-16 5:06 
QuestionRelating Country to its State & Province Pin
Member 1276860029-Sep-16 23:12
Member 1276860029-Sep-16 23:12 
SuggestionRe: Relating Country to its State & Province Pin
Richard MacCutchan29-Sep-16 23:45
mveRichard MacCutchan29-Sep-16 23:45 
GeneralRe: Relating Country to its State & Province Pin
Member 1276860030-Sep-16 0:17
Member 1276860030-Sep-16 0:17 
GeneralRe: Relating Country to its State & Province Pin
Richard MacCutchan30-Sep-16 0:53
mveRichard MacCutchan30-Sep-16 0:53 
Questioncompile error: string is private with powershell Pin
shoysmTP15-Sep-16 0:53
shoysmTP15-Sep-16 0:53 
AnswerRe: compile error: string is private with powershell Pin
Richard MacCutchan15-Sep-16 1:40
mveRichard MacCutchan15-Sep-16 1:40 
QuestionLoad C++ Library Only Once Pin
Django_Untaken10-Sep-16 9:30
Django_Untaken10-Sep-16 9:30 
AnswerRe: Load C++ Library Only Once Pin
Richard MacCutchan10-Sep-16 20:42
mveRichard MacCutchan10-Sep-16 20:42 
GeneralRe: Load C++ Library Only Once Pin
Django_Untaken11-Sep-16 4:58
Django_Untaken11-Sep-16 4:58 
GeneralRe: Load C++ Library Only Once Pin
Richard MacCutchan11-Sep-16 6:17
mveRichard MacCutchan11-Sep-16 6:17 
QuestionI'm having some issues with a source code Pin
DarkoJava2-Sep-16 15:55
DarkoJava2-Sep-16 15:55 

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.