Question 1 [Total: 15 Marks) Read and display instance variable y'=30 and a static variable 'X' =20 in an instance metho
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question 1 [Total: 15 Marks) Read and display instance variable y'=30 and a static variable 'X' =20 in an instance metho
Question 1 [Total: 15 Marks) Read and display instance variable y'=30 and a static variable 'X' =20 in an instance method called 'display () and static method called 'show (). Call both methods in the main Class called Test and print variables on the console.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!