same code of string builder as taught in video is not working on eclipse and showing error i have saved the code in ide it is working on that but not in eclipse
Exception in thread “main” java.lang.Error: Unresolved compilation problems:
The constructor StringBuilder(String) is undefined
The method length() is undefined for the type StringBuilder
The method append(String) is undefined for the type StringBuilder