qualified name makes sense in terms of class name (think about it in terms of statics). where the expression for accessing the field is similar to defining the Fully Qualified Name as a reference for a specific class object, including method names.
Example:
public class A { public static void method1() {//does something } } public class B { public int dummy; public void hello() { System.out.println("Hello!"); } } public class Main { public static void main(String[] args) { B b = new B(); b.dummy=1; b.hello(); } }
here in the above classes if we say
A.method1()
itβs rather a qualified name, where
b.hello(); b.dummy
- more expressions for accessing the field.
codeMan
source share