67 107
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #57129 in Java | JSP | JSF for manar

Question #57129
can you help me how to convet the object to xml in java
Serializer s=new Persister();

File f=new File("home.xml");
Mobile c=new Mobile(a[0].getType(),a[0].getOS(),a[0].getSize(),a[0].getMemory(),a[0].getPrice());

try {

s.write(c,f);


} catch (Exception ex) {
Logger.getLogger(Final_project.class.getName()).log(Level.SEVERE, null, ex);
}
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions