Table columns

Report a typo

You're given the entity that represents the "VR_Device" table:

Java
@Entity
@Table(name = "VR_Device")
public class VRDevice {

    @Id
    @Column(name = "device_id")
    private int id;

    @Column(name = "device_shape")
    private String shape;

    private float price;
}
Kotlin
@Entity
@Table(name = "VR_Device")
class VRDevice {
    
    @Id
    @Column(name = "device_id")
    var id: Int = 0

    @Column(name = "device_shape")
    var shape: String? = null

    var price: Float = 0f
}

Which of the following columns does the "VR_Device" table have?

Select one or more options from the list
___

Create a free account to access the full topic