Question: plzz answer the correct mcq Is this correctly written code public class A i = 1111 inti 3 A) Yes, you can't use a field
plzz answer the correct mcqIs this correctly written code public class A i = 1111 inti 3 A) Yes, you can't use a field before it is defined. But, you can initialize a field before it is defined OB) You can't access a field inside a method OC) You cannot name a class "A" D) There is no main method
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
