BIT401 ยท 2081 ยท 10 marks
How do you create inner class and anonymous inner class? Create a class EMPLOYEE with data members Emp_ID, Name and Occupation, and write those objects to the file DOC.DAT whose occupations is doctor.
How do you create inner class and anonymous inner class? Create a class EMPLOYEE with data members Emp_ID, Name and Occupation, and write those objects to the file DOC.DAT whose occupations is doctor.[10]
Advanced Java ProgrammingChapter 1: Object-Oriented Programming FundamentalsInner classes and anonymous inner classes