I have a class suppose Learning.java
Can I instantiate that class using its name "Learning.java" ? I went through reflection in JAVA, But I think that instantiates only the .class objects.
I wanted to call a method calculate()
through an interface ILearning.java
Learning.java
has constructor which takes arguments (int a,int b,int c,int d)
and the calculate method takes those argument and returns double.