Selenium with Java Tutorial For Beginners Day - 3

Selenium Tutorial Java Day - 3 49 min

  

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.

QA Section

Speak Your Mind


Gautam

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 Reply

  • Trainer

    Gautam...Login to your account. You will see a support forum. Please post the question there along with java file.

    Reply

gautam

Hi, I can see only quiz but no assignment.

Reply
  • Trainer

    Assignments will come in further modules

    Reply

ANU

for (String s : arr) { System.out.println(s); } This is throwing an error java 31. Could you please help.

Reply
  • Trainer

    Make sure you have JDK configured Properly

    Reply