Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

AN INTRO OF OOPS CONCEPT FROM BASIC (C++)

Rating
-
Sold
-
Pages
2
Grade
A
Uploaded on
04-03-2023
Written in
2022/2023

BEST NOTES FOR SHORT-TERM REVISION IN NO TIME THIS WILL GIVE YOU A BRIEF INTRODUCTION FROM BASIC LEVEL ABOUT OOPS CONCEPTS (C++)

Institution
Course

Content preview

OOPs Concepts in C++ || Part-1
Coding Ninjas is the largest coding education platform where
you can access various type of courses if you are interested
in paid courses. If you want courses on web dev, machine
learning, development, OS, DBMS, DSA in java , Python then
CN is the place for you. The courses are available in both
Hindi and English languages You will also get hint videos in
every question. doubts are resolved within 1-2 hours.
Courses are really well structured If you will work hard , then
you will definitely get results The course makers have
already cracked big tech companies. If I talk about this
object , there is only an integer , it is of 4 bytes. When I
create this type of objects , it will take the size of its
properties. A class is actually a type of templet there should
be a health named integer When I write hero h1 , I made an
implementation of this. here place some value in health.
There is health , here we put value in it. A block got reserved
in memory , where data of this health got filled In short,
there was an integer when I made its object.

These are my some properties , I put them here There will be
health , level , health , now if I want to print them then how
will I do it Comment it Here we have already created h1 , if
you want to access it Lets name it Ramesh. If I write public
here then both will give error because both became private.
By default your access modifier in class is private. Public
means we can access it inside and outside the class. Private
means you can access them inside the class only. Public is
public, private is public and private is private. Bhaiya is a
child class concept. We have a concept of getter /setter , we
will use it. If any data member is private in your class, you
can access it using getter and setter. If anything is marked
private then I can use getter to read it. If you want to check
only user A can change it and no other can do it. There also
setter can be used to fetching/read setter is for putting any
condition.

You have to study about padding, greedy alignment and
greedy alignment. These are the things you will not find in
paid courses also. If you read it once then this will become
clear to you. I have not seen this in any online test till now

Written for

Institution
Course

Document information

Uploaded on
March 4, 2023
Number of pages
2
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$7.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
atulgupta

Get to know the seller

Seller avatar
atulgupta siddharth international
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions