I have a custom Class Employee. Now in the Customer Class in the first construcor I want to pass a dummy employee object for the second constructor. How can I do this?
-
1You have to import Employee or else it will be undefined. w3schools.com/java/ref_keyword_import.aspkpie– kpie2022-01-13 18:29:20 +00:00Commented Jan 13, 2022 at 18:29
-
Even importing the class or adding it to a package doesn't work.maxig– maxig2022-01-13 18:43:09 +00:00Commented Jan 13, 2022 at 18:43
Add a comment
|
