No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi i just have a question, i was doing the pass midterm the question is asking that " Write a class Jacket, which has a boolean instance variable isReversible and a static int variable numJackets. There are no methods " correct Ans: public class Jacket { private boolean isReversible; private … |
|
Need some help , i don't know where went wrong Thank you "Reversing the elements of an array involves swapping the corresponding elements of the array: the first with the last, the second with the next to the last, and so on, all the way to the middle of the … |
|
Write the definition of a class Telephone . The class has no constructors, one instance variable of type String called number , and two static variables. One is of type int called quantity ; the other is of type double called total . Besides that, the class has one static … |