need HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
cant get the last condition
Resolved
Comments (5)
- Popular
- New
- Old
You must be signed in to leave a comment
shaan mohd khan QA Automation Engineer at mphasis Ltd
30 January 2019, 07:40
declare a local variable count in main method and store the value of static variable count from static class cat in it.you will also have to increment the static instance variable after creating object of class Cat
0
Pawan Harde
2 October 2018, 12:05
click on cats in the universe
0
Ankush Rajput
2 October 2018, 11:16
What's the problem ?
Attach your code with question.
0
Rad
15 October 2018, 13:07
please help me how to store objects in variable
0
Ankush Rajput
21 October 2018, 15:53solution
Consider a class with name Test.
Now, if you want to create an instance (object) of this class, you can do following -
You can even pass parameter to Test() if class constuctor is defined for parameters.
I hope this answers your question. +2