How come quotes won't print in console-CucumberVideo2? | Selenium Forum
M
Posted on 19/07/2016
Sir ,
[b:1htb5905]Am comparing results of this java code:[/b:1htb5905]
[b:1htb5905]Query: Why Quotes are printed in 1st case & not in 2nd case?[/b:1htb5905]

[b:1htb5905]1st case:[/b:1htb5905]
package Ruff_structured_SCripts_CP;

import java.util.ArrayList;
import java.util.List;

import org.openqa.selenium.WebElement;

public class A {

public static void main(String[] args) {
// TODO Auto-generated method stub
String Name="\"([a-z]{1,})\"";

A.print(Name);

}
public static void print(String Name){
System.out.println("am printing name"+Name);
}
}
//===============================
[b:1htb5905]2nd case:[/b:1htb5905]
& [b:1htb5905]console results in snapshot attached[/b:1htb5905]