Why an object of a class is created inside a main method and it does not work if created inside a class without any method?
Loading
Why an object of a class is created inside a main method and it does not work if created inside a class without any method?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted May 13, 2022, 5:49 AM
Muhammad Imran AnsariPosted May 13, 2022, 4:01 AM