Link to home
Create AccountLog in
Avatar of Sumitartmagic
Sumitartmagic

asked on

"Change the class name"

Hi expert,
Suppose I have created two programs One class name is Rohit and another class name is shivam.
And I want to change the name of first program class name "Rohit"  by using second program name "Shivam" when user input the name. How to solve it.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Um, basically you can't change the name of classes once the program is running.

I think if you could describe more what your goal that you are trying to achieve is (rather than specifically how you are thinking to solve it) then we could help further.