티스토리 뷰
Class and Object in C++
- Data and functions are created in class and an object is created through a class.
- How to declare an object is almost the same way which we declare normal variables.
- Class members are private by default.
- To allocate memory, a name should be given as an instance
Example code
'C++' 카테고리의 다른 글
Encapsulation (getters and setters) in C++ (0) | 2018.11.06 |
---|---|
Reference in C++ (0) | 2018.11.06 |
Dynamic Allocation in C++ (0) | 2018.11.03 |
Function Overloading in C++ with example code (0) | 2018.11.03 |
Call by reference & Call by value with example code (0) | 2018.11.03 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- ... in Javascript
- rest parameter
- hackerrank solution
- easy javascript algorithm
- code refactoring
- repeat()
- 프로그래머스 알고리즘
- Collection Framework
- 프로그래머스 알고리즘문제
- spring boot application
- hackerrank javascript solution
- equals()
- hackerrank
- Object type casting
- 알고리즘
- Javascript Algorithm
- HashMap
- C++
- compareTo()
- hackerrank javascript
- 프로그래머스
- java
- math.abs
- substring()
- algorithm
- easy algorithm
- javascript
- math.max
- string class in java
- HackerRank Algorithm
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
글 보관함