/*you can say This is the condition of override…
1.The main condition “Must be has different class”
2.must be overloading
3.if and only if method name,return type and also parameter are same then occurs override.otherwise impossible to happen override
OK.Fine.now we can see a method override program….
A(String name) //A method overloading
System.out.println(“How are you…?”);
Remember please…method overloading and method overriding is a example of Polymorphism*/Read More