티스토리 뷰
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
- repeat()
- easy javascript algorithm
- java
- C++
- 알고리즘
- easy algorithm
- 프로그래머스
- spring boot application
- rest parameter
- 프로그래머스 알고리즘
- javascript
- algorithm
- HackerRank Algorithm
- 프로그래머스 알고리즘문제
- hackerrank javascript
- equals()
- hackerrank
- compareTo()
- Javascript Algorithm
- string class in java
- code refactoring
- math.max
- HashMap
- math.abs
- Collection Framework
- hackerrank solution
- ... in Javascript
- Object type casting
- hackerrank javascript solution
- substring()
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함