Huawei Related Exams
H14-231_V1.0 Exam

The global search portal provided on HarmonyOS has a desktop drop-down search box or a negative screen search box.
A developer defines an entity class
Student.java and use the following code to construct the table:
@Entity(tableName ="student", ignoredColums
=["ignoredColumn1","ignoredColumn2", indices
= (@Index(value =("firstName.","lastName",
name="name_index", unique = true)))
pub1ic class User extends OrmObject{
@PrimaryKey(autoGenerate= true)
private Integer userld;
private String firstName;
private String lastName;
private int age;
private doub1e balance;
private int ignoredColumn1;
private int ignoredColumn2;
}
Which of the following descriptions of this code is wrong?
When using the location capability of HarmonyOS, developers need to apply for the LOCATION permission, which is a non-sensitive permission and needs to be declared in config.json.