added an example for ternary in comment form and added ternary statement
workspace file added to idea folder