Q. Which of the following is TRUE? (Solved)
1. In java, an instance field declared public generates a compilation error.
2. int is the name of a class available in the package java.lang
3. Instance variable names may only contain letters and digits.
4. A class has always a constructor (possibly automatically supplied by the java compiler).
- d. A class has always a constructor (possibly automatically supplied by the java compiler).