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 mcq Is this correctly written code publicplzz answer the correct mcq

Is 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!