how do i de define keyword
i want to define keywords like the #define in c++
because ts is better than this
11 Replies
⌛
This post has been reserved for your question.
Hey @handsome asian! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
you cant in java
well, you can do like that just use
but you can't define methods.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
no single way?
well, There is lambda method. I can't know you want this.
It is lambda
i mean keyword
"this" to "ts"
just like #define in c++
just use
I can't know perfectly. I think making "this"(String) to "ts"(String) maybe cant
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
no, this, this.pissedMeOff()
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.