Which of the following lines of code are correct? (Choose one)
a. @Entity
public class Company{
...
}
public class Employee extends Company{
...
}
b. @Entity
public class Company{
...
}
@Entity
public class Employee extends Company{
...
}
c. public class Company{
...
}
@Entity
public class Employee extends Company{
...
}
d. All of others
Answer: D
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.