Loading...
State the difference between length and length() in Java.
Name one String method which results in positive integer only.
String a[ ] = {"Atasi", "Aditi", "Anant", "Amit", "Ahana"}; System.out.println(a[1].charAt(1) + “*” + a[2].charAt(2)); The output of the above statement is:
Write a program to accept the designations of 100 employees in a single dimensional array. Accept the designation from the user and print the total number of employees with the designation given by the user as input. Example: Trainee | Manager | Chef | Manager | Director | Manager Input: Manager Output: 3
© 2026 PadhAiPro. This question is provided for educational purposes.