answersLogoWhite

0

class is summation of data member and data types(basically known as instance variable of a class). making a class is basically an encapsulation under various access specifiers on which its object accessibility depends. these data functions can be accessed inside or outside the class with the help of object(class variable) of a class. an object defined in another class(i.e. outside the original class) can access its own class members which r not declared under private mode but can access public members and it is derived then can also access protected data members or data types also.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Where can you find a tutor for Programming I class?

At school


A function and a class which is preferred and which is legal in cplusplus programming language?

you


What is an easy way to learn computer programming?

Attend a class on it


What is need of object in object oriented programming?

Object is an instant of the class, by using an object we can members of the class.


How can we make sure (pragmatically) that a class will have no further child classes. Which programming stmt will do this in Java and C?

How can we make sure (pragmatically) that a class will have no further child classes. Which programming stmt will do this in Java and C++?


What are the key differences between a parent class and a grandparent class in object-oriented programming?

In object-oriented programming, a parent class is a class that is extended by another class, known as a child class. A grandparent class, on the other hand, is a class that is higher up in the inheritance hierarchy and is not directly extended by the child class. The key difference is that a parent class is directly related to the child class, while a grandparent class is further up the inheritance chain.


Is class a pointer?

No. In computer programming, a class is a data type while a pointer is a variable that can store a memory address.


How do you apply class diagram with programming languages which is not based on object-oriented like c?

You cannot. Class diagrams are only applicable to object oriented programming languages. C is not object oriented, but C++ is.


In object oriented programming when does memory for the class is allocated and why?

While it depends on the specific language, memory for a class is usually allocated when an object of that class is created.


Is it true that having a good teacher makes programming class easier?

Having a Good TeacherHaving a good teacher, one who knows how to explain the lessons in a way that students can understand and will answer their questions the same way, makes programming class and any other class easier.


What subject we have to take after class 10 for software engineer?

You can take a programming class or Analogue or Digital electronics as a software engineer.


What is the unit of programming in c plus plus A. Function B. class C. object D. Attribute?

B. Class.