What is a class?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

C++ and Java Tutors

Class is User defined data type, its contain data members and member function
Comments

The fundamental building block of OO software. A class defines a data type, much like a struct would be in C. In a computer science sense, a type consists of both a set of states and a set of operations which transition between those states.
Comments

C/C++/.Net Trainer

A class is like a design to create objects. Class will have methods and variables. Classes will be created mainly for re-usability, modularity and security. In real world applications you will see class names like Employee, Customer, Order etc., where the functionality related to each type will be enclosed...
read more
A class is like a design to create objects. Class will have methods and variables. Classes will be created mainly for re-usability, modularity and security. In real world applications you will see class names like Employee, Customer, Order etc., where the functionality related to each type will be enclosed in a class. read less
Comments

1.5 years of experience in teaching IT and computer subjects to engineering, diploma and BSc students.

A class combines data representation and methods for manipulating that data into one neat package and is used to specify the form of an object. An object is an instantiation of a class. The data and functions within a class are called members of the class.
Comments

IT Technical Trainer

A class can be considered as a template where it holds the data elements of its type and methods to operate on it. Any instance created from this class will contain the data elements of that template with default initialized values. As mentioned in above responses, you can consider an Employee class...
read more
A class can be considered as a template where it holds the data elements of its type and methods to operate on it. Any instance created from this class will contain the data elements of that template with default initialized values. As mentioned in above responses, you can consider an Employee class as a template which can hold information about employee like id, department, etc. An instance of it would Employee Joe which will be initialized with the information of Joe called as an Object. read less
Comments

Lecturer

Class is the collection of different datatypes and member functions.
Comments

Tutor

Class is collection of data and the functions that operate on data. It is a template for real world object. Class defines attributes of the object and the functions required.
Comments

View 5 more Answers

Related Questions

What is C++
A high-level programming language developed by Bjarne Stroustrup at Bell Labs. C++ adds object-oriented features to its predecessor, C. C++ is one of the most popular programming language for graphical...
Shoaib
What is inline function? Why pointers is not used in C++?
Inline function is the optimization technique used by the compilers. One can simply prepend inline keyword to function prototype to make a function inline. Inline function instruct compiler to insert complete...
Avinash
Is C#, C++, Python, or JS better for game development?
All languages good for gamjng. But you can make 3d games in c# uaing unity software and it's very very interesting to work on it.
Mohit
0 0
6
Which are the best books to learn C?
Yashavant Kanetkar
Kratika
i am a student of 11th class and i want to make my future in C++ is this possible i am take arts inn 11th class
Definitely.. but you should be flexible moving to java/ other languages as well.. requirement/ demand keep changing in software. i can do the needful.. with 18+ yrs exp in working on live projects...
Rajneesh

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Data Structure: Searching
Searching Searching means finding an element in an array. There are two type of searching techniques : Linear Search Binary Search In linear search, to find the element array is traversed and...

Magic in C=> OFFSET OF MACRO in C [offsetof(TYPE, MEMBER)]
Here I am going to discuss an exciting macro in C. It will give you offset of a member within a structure. NULL or 0 address is typecasted to TYPE first. It won't result in segmentation fault as we are...

Variables and Storage Classes
Variables and Storage Classes auto default variable type local to a function static retains the values between function calls initialized only once unavailable outside the scope of the function...

PRACTISE makes you PERFECT ; ; ; There is no SUBSTITUTE for HARD WORK ;;;;Breathe SUCCESS like OXYGEN
Proper Planning ( reg what portions to be covered today) revising today's class portions & clarifying doubts solving Maths problems regularly ,noting down formulae separately trying to understand...

Memory Layout of C Programs
A typical memory representation of C program consists of following sections. Text Segment: A text segment, also known as a code segment or simply as text, is one of the sections of a program in an object...

Recommended Articles

Introduction C++ is an excellent programming language and many of the applications are written in C++ language. It has generic, object-oriented & imperative programming features, and also provides facilities for low-level memory manipulation. Successor of C language, it is an OOP (object oriented programming) language...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for C++ Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you