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;
}

Comments

Popular posts from this blog