Instructions

  • 1. Your final score will reflect your grasp of the concepts—approach each question with precision.
  • 2. Thoroughly review each solution before proceeding to ensure full understanding.
  • 3. Final results will be available after submission to provide insights into areas for further improvement.
  • 4. Maintain academic integrity—plagiarism undermines learning and professional growth.
  • 5. Once submitted, responses are final, so ensure you’re confident in your answers.
  • 6. These challenges are designed to test practical knowledge; apply your skills as you would in real-world scenarios.

All Problems

Question

Action

Which of the following is the correct way to declare an array in Java?

View

What is the index of the first element in a Java array?

View

What will be the output of the following code?

View

Which method is used to convert a string to lowercase?

View

What will be the output of the following code?

View

How do you access the last element of an array arr?

View

Which of the following methods is used to split a string into an array?

View

Which of the following methods checks if two strings are equal in Java?

View

Which of the following is the correct way to initialize a two-dimensional array in Java?

View

Which method converts all characters in a string to lowercase in Java?

View