Page 1 of 1

Question 1 [Total: 15 Marks) Read and display instance variable y'=30 and a static variable 'X' =20 in an instance metho

Posted: Wed Apr 27, 2022 3:31 pm
by answerhappygod
Question 1 Total 15 Marks Read And Display Instance Variable Y 30 And A Static Variable X 20 In An Instance Metho 1
Question 1 Total 15 Marks Read And Display Instance Variable Y 30 And A Static Variable X 20 In An Instance Metho 1 (12.95 KiB) Viewed 46 times
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.