0

What is the difference between Class.ForName and new demo();

9th Aug 2016, 4:09 AM
Shivam Mishra
Shivam Mishra - avatar
1 Answer
0
Without code example youre going to get a vague answer. Class is a class. Class.ForName is probably a call of a variable of that class. new demo() looks like a class instantiation, like Demo d = new demo();
9th Aug 2016, 4:36 AM
James
James - avatar