Tuesday, October 5, 2021

 


package qasignpackage;

import java.util.ArrayList;

import java.util.Arrays;

import java.util.HashMap;

import java.util.List;

import java.util.Map;

import java.util.Map.Entry;

public class SampleTest {

    public static void main(String[] args) {

  HashMap<String, String> hmap=new HashMap<String,String>();

                  hmap.put("1", "qa"); 

                  hmap.put("2", "sign"); 

                  hmap.put("3", "selenium");

  for (Entry<String,String> entry: hmap.entrySet()) {

  System.out.println("Key = " + entry.getKey() +

                      ", Value = " + entry.getValue());

  }

  }

 

0 comments:

Post a Comment

selenium-repo by venu

Blog helps to a student or IT employee to develop or improve skills in Software Testing.
For Online Classes Email us: gadiparthi122@mail.com

Followers

About Me

My photo
Hyderabad, Andhra Pradesh, India
I am Automation Testing Professional. I have completed my graduation in B.Tech (Computers) from JNTU Hyderabad and started my career in Software Testing accidentally since then, I passionate on learning new technologies

Contact Form

Name

Email *

Message *

Popular Posts