Answer :
Let us take an example
class Test{
Static String s = "Java Invent"
}
To Find the length of the string "s",
Test.s.length()
Test is a class name.
"s" is a static variable present in class Test
of String type.
length() is the method present in String class.
same like above example
class System{
Static PrintStream out;
}
System.out.println("Java Invent");
System is a class present in java.lang package.
out is a static variable present in the system class of type PrintStream.
println() is a method present in PrintStream class.