yogesh doshi wrote:The answer is four error when I run this on Java 8 environment I found that 3 error were displayed.....The error at declaration of bench variable was not displayed..
This topic discusses exactly the same question. So it's definitely worth reading
Hope it helps!
Kind regards,
Roel
PS. I wonder why you have posted the
javac commands as a screenshot and not simply as a plain code snippet (don't forget to
UseCodeTags 
)? If I want to compile (and execute) your code snippets, I know have to type them myself. And yes, I am (very) lazy

So I'll be losing precious time which I could otherwise be spending on typing a nice reply... And another reason: attached images are not searchable using the search engine, some text or a code snippet definitely is.