Click here to Skip to main content
15,887,776 members
Home / Discussions / Java
   

Java

 
AnswerRe: JAVA Pin
Richard Deeming26-Nov-15 1:58
mveRichard Deeming26-Nov-15 1:58 
SuggestionRe: JAVA Pin
Jervie Ocampo23-Dec-15 7:36
Jervie Ocampo23-Dec-15 7:36 
QuestionJava Class Path Pin
Ardi Durres24-Nov-15 5:35
Ardi Durres24-Nov-15 5:35 
AnswerRe: Java Class Path Pin
Richard MacCutchan24-Nov-15 10:53
mveRichard MacCutchan24-Nov-15 10:53 
QuestionDeleting Array Elements Pin
Lord188023-Nov-15 4:12
Lord188023-Nov-15 4:12 
AnswerRe: Deleting Array Elements Pin
Richard MacCutchan23-Nov-15 5:29
mveRichard MacCutchan23-Nov-15 5:29 
AnswerRe: Deleting Array Elements Pin
Member 1208763224-Nov-15 2:14
Member 1208763224-Nov-15 2:14 
AnswerRe: Deleting Array Elements Pin
Roland 579-Dec-15 10:29
professionalRoland 579-Dec-15 10:29 
You can't change the size of an array.
So you have to create a new one:

Java
String [] names = {"Pedro","Maria", "Nancy","Pinto" };
int m = 3;
{
  List<String> l = new ArrayList<String>(Arrays.asList(names));
  l.remove(m);
  names = l.toArray(new String[0]);
}

QuestionJava web service code design Pin
Steve Holdorf17-Nov-15 11:55
Steve Holdorf17-Nov-15 11:55 
SuggestionRe: Java web service code design Pin
Richard MacCutchan17-Nov-15 21:59
mveRichard MacCutchan17-Nov-15 21:59 
GeneralRe: Java web service code design Pin
Stephen Holdorf18-Nov-15 0:35
Stephen Holdorf18-Nov-15 0:35 
GeneralRe: Java web service code design Pin
Richard MacCutchan18-Nov-15 0:48
mveRichard MacCutchan18-Nov-15 0:48 
QuestionRe: Java web service code design Pin
Richard Deeming18-Nov-15 2:27
mveRichard Deeming18-Nov-15 2:27 
QuestionIs there any possibility? Pin
VISWESWARAN199816-Nov-15 20:40
professionalVISWESWARAN199816-Nov-15 20:40 
AnswerRe: Is there any possibility? Pin
Richard MacCutchan16-Nov-15 21:00
mveRichard MacCutchan16-Nov-15 21:00 
QuestionRe: Is there any possibility? Pin
VISWESWARAN199816-Nov-15 21:10
professionalVISWESWARAN199816-Nov-15 21:10 
AnswerRe: Is there any possibility? Pin
Richard MacCutchan16-Nov-15 21:11
mveRichard MacCutchan16-Nov-15 21:11 
GeneralRe: Is there any possibility? Pin
VISWESWARAN199816-Nov-15 21:18
professionalVISWESWARAN199816-Nov-15 21:18 
GeneralRe: Is there any possibility? Pin
Richard MacCutchan16-Nov-15 21:41
mveRichard MacCutchan16-Nov-15 21:41 
PraiseRe: Is there any possibility? Pin
VISWESWARAN199816-Nov-15 21:58
professionalVISWESWARAN199816-Nov-15 21:58 
AnswerRe: Is there any possibility? Pin
Oliver S. Neven18-Nov-15 11:21
Oliver S. Neven18-Nov-15 11:21 
PraiseRe: Is there any possibility? Pin
VISWESWARAN199819-Nov-15 23:36
professionalVISWESWARAN199819-Nov-15 23:36 
GeneralRe: Is there any possibility? Pin
Oliver S. Neven20-Nov-15 2:50
Oliver S. Neven20-Nov-15 2:50 
QuestionFirst Java Application Pin
Member 1214389516-Nov-15 6:56
Member 1214389516-Nov-15 6:56 
AnswerRe: First Java Application Pin
Richard MacCutchan16-Nov-15 7:27
mveRichard MacCutchan16-Nov-15 7:27 

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.