This tutorial for selenium java covers java fundamentals of arrays and functions. How arrays can help you store test data and how to build reusable functions.
I am getting error for this code. I created a function to display odd elements in an array. When I called the function it is giving error. How to pass array for odd function from main. Please help.
public class oddposition {
public static void main(String[] args) {
odd(10,20,30,40);
}
}
public static void odd(int arr[]) {
for(int i =0;i Gautam...Login to your account. You will see a support forum. Please post the question there along with java file. Hi,
I can see only quiz but no assignment. Assignments will come in further modules for (String s : arr)
{
System.out.println(s);
}
This is throwing an error java 31. Could you please help. Make sure you have JDK configured ProperlySpeak Your Mind
Trainer
gautam
Speak Your Mind
Trainer
Speak Your Mind
ANU
Speak Your Mind
Trainer
Speak Your Mind
Speak Your Mind