πŸ“Š JAVA
Q. Which one of the following is a valid statement?
  • (A) char[] c = new char();
  • (B) char[] c = new char[5];
  • (C) char[] c = new char(4);
  • (D) char[] c = new char[];
πŸ’¬ Discuss
βœ… Correct Answer: (B) char[] c = new char[5];

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
236
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Shivam
Publisher
πŸ“ˆ
86%
Success Rate