Computer Science, asked by alagahun, 9 months ago

Can we create object inside method?​

Answers

Answered by syada786
2

Answer:

No, the main method only runs once when you run your program. It will not be executed again. So, the object will be created only once. Think of your main method to be outside your class.

Answered by arunclash66
1

Answer:

yes by usinng several methods we can prepare a object

Similar questions