Hai Scoobs ,
In the code, String test1 contains "\" expression. but in the split function of string parts1 contains "//" expression.
So change it.. it ll work..
Nijan
Type: Posts; User: Nijan
Hai Scoobs ,
In the code, String test1 contains "\" expression. but in the split function of string parts1 contains "//" expression.
So change it.. it ll work..
Nijan
the method "display" is non-static.. but this method is call inside a static main method.. because of this error occurs..
change the method "display" to static..
Private access modifier is the most restrictive access level. Class and interfaces cannot be private.
Example:
public class Logger {
private String format;
public String getFormat() {
...