What is databstraction
->Hiding unecessery data and showing necessery data to the user we use data abstraction
-> we use private,public,protected excess specifier for data abstraction
ex-
class teacher
{
private int salary;
public String name;
}
-> we use private,public,protected excess specifier for data abstraction
ex-
class teacher
{
private int salary;
public String name;
}
Comments
Post a Comment