Hi! I’m a Software Engineer. Currently employed as Creative Java Developer at the same time, also practicing Latest Technologies in my spare time. =)
Hi! I’m a Software Engineer. Currently employed as Creative Java Developer at the same time, also practicing Latest Technologies in my spare time. =)
Sir
I need to create a .csv file in java
i can get the output printed in the console now i want to create a csv file of it like
a ,x1,y1,09:00
b,x2,y2,10:00
and i would also like to save the output at the same time in mysql database as a table (name,x co or,y co or,time)
//
for (int i=0;i<_chromosome.getCities().length;i++)
System.out.println(_chromosome.getCities()[i]+","+_chromosome.getCities()[i].x+","
+_chromosome.getCities()[i].y+","+_chromosome.getTimes()[i]);
//
can you please tell me how can i do it
Thanking you
Regards
Sameer