Which of the following lines of code are correct?

Which of the following lines of code are correct?





a. @EntityBean
public class Employees{
...
}
b. @Entity
public class Employees{
...
}
c. class Employees{
@Entity
private class Address{
...
}
...
}





Answer: B


Learn More :