About the difference between self and super,The first thing to know about 1 is what self is and what super is. What 2,[Super init] does. 3, why should self = [super init];What is 1,self and what is super?> In dynamic methods, self represents an
This article was reproduced from: http://quantoubao.blog.163.com/blog/static/2083211702013870501987/The way to install Android SDK Android Simulator is very simple, online a lot, fool-style. But for its root method, the online version is not so easy.
Linux virtual file system four main objects:1) Super Block2) Index node (inode)3) Catalog entry (dentry)4) Document object (file)A process that refers to various objects as it operates on a file is as follows:by Task_struct get files_struct, then
Look at the code:@implementation son:father-(ID) init{ = [Super init]; if (self) { } return to self ;}What is self and what is super ?In dynamic methods : Self stands for "object"; In static methods : Self stands for "class"; One
The article turns from
@implementation Son:father
-(ID) init{
self = [super init];
if (self) {
} return
self;
}
This is an ordinary to initialization method that invokes the Init implementation of the parent class before the
In the Linux operating system, root is the highest, and is also known as the owner of the Super privilege. The actions that ordinary users cannot perform, which root users can accomplish, are also called Super Admin users.
In a system, each file,
We recommend a very good Linux kernel system with great learning value. Here I will mainly explain the application of the Linux kernel system, including introduction to the knowledge of the Linux kernel system. When using the Linux kernel, if you
To begin our question:@implementation son:father-(ID) init{self = [super init]; if (self) { } return to self;}This code estimates a lot of people write rotten, even if not write rotten, Xcode automatically generated we also see
/bin store the longest user commands, such as: CP, LS, cat, and so on.
/boot Some of the core files used when starting Linux.
/dev is the abbreviation for device (device), which is the peripheral device of all Linux.
What does root mean?
Root refers to root in Unix systems such as AIX, BSD, and Unix-like systems such as Debian, Redhat, Ubuntu, and Linux, as well as Android, where Superuser is generally named. Root is the only superuser in the system that has
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.