This is a generic:-
Description<Space> Field Name:Value,....Field Name:Value
This is a code:-
obj.insert("The value you have inserted is" +
"name:" + student.getName()
",age:" + student.getAge()
);
Based on the generic:
1. "The value you have inserted is" = Description
2. name: = Field Name
3. age: = Field Name
4. student.getName() = Value
5. student.getAge() = Value
insert is a method that takes in this string and does the insertion into the database. From what I see the string does not match the generic. Is there a way of organizing the code in such a way that it does not look messy as above and matches the generic. Please keep in mind that my app does not have a toString method and it will not be implemented.