Question 1 [10 marks] State whether each of the followings is true or false about Java: (a) All variables are objects. (
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question 1 [10 marks] State whether each of the followings is true or false about Java: (a) All variables are objects. (
Question 1 [10 marks] State whether each of the followings is true or false about Java: (a) All variables are objects. (b) You are allowed to change the value of an attribute of an instance of a final class. (c) Writing a class that extends JFrame class and implements ActionListener interface is the only approach to develop a JFrame application that supports button click event handling. (d) Object created from an existing class which only implements the comparable interface can be saved to a file with method writeObject of class ObjectOutputStream. (e) Program segments that use ResultSet objects make use of a while loop can be replaced by do/while loop. [10]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!