πŸ“Š JAVA
Q. Which of the following is TRUE?
  • (A) In java, an instance field declared public generates a compilation error.
  • (B) int is the name of a class available in the package java.lang
  • (C) Instance variable names may only contain letters and digits.
  • (D) A class has always a constructor (possibly automatically supplied by the java compiler).
πŸ’¬ Discuss
βœ… Correct Answer: (D) A class has always a constructor (possibly automatically supplied by the java compiler).

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
397
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
92%
Success Rate