Answer:
Explanation:
The question above is missing many details and are actually various questions in one. I will answer each one seperately below...
A. The piece of code to get the ID in this code snippet that needs to replace XXX would be the following ... System.out.println("Student ID: " + s.getID());
B. A static main() can declare and create objects. Once these objects are created their instance methods can then be called.
C. Integer score1 = 72;
int score2 = 85;
Character grade = 'C';
In the above code snippet, the information stored in score1, score2, and grade are the following... obj reference, 85, obj reference. This is becasue both Integer and Character are classes and the values being passed to their variables are referencing that object class, while score2 is a primitive type of int and is therefore simply a number.
D. The statement that is true is ... Contents of a Double instance can be modified after initialization. Objects can be modified by calling its setter methods after initializing it.
Answer:
i. This value was not accepted because we have 12 months and not 13.
ii. This is because the user entered the value for the day as value for the month.
Explanation:
i. Why was this not accepted?
This value was not accepted because we have 12 months and not 13. The user entered a value that was above the maximum value registered for the number of months in a year- which is 12.
ii. Why do you think this error occurred
This is because the user entered the value for the day as value for the month.
This could be because the user uses a date system different from that of the program.
The programs you need for you are not even done yet
For testing the designs of the product prior to putting it into production, mechanics should be responsible for the same.
The information related to the mechanics engineers is as follows:
- They are responsible for manufacturing & designing of machines & products.
- It is the engineering branch.
- Moreover, they are fully responsible for developing things.
Thus we can say that for testing the designs of the product prior to putting it into production, mechanics should be responsible for the same.
Learn more related to the production here: brainly.com/question/22852400