No. If a child is going to get diabetes, it will be of the type caused by non-performance of insulin. This is a hormone (a chemical messenger which affects certain bodily functions) produced in the pancreas. Being obese or eating sweet things has nothing to do with whether the insulin-producing cells in the pancreas are functioning properly or not.