Usage of Keywords

Primary tabs

Abdelraheem Al-najjar Raheem's picture

No Description Set


Bookmark to learn: Login to use bookmarks.

Bookmark to learn: Login to use bookmarks.

Add to collection ... add Usage of Keywords to your collections:

Help using Flashcards ...just like in real life ;)

  1. Look at the card, do you know this one? Click to flip the card and check yourself.
  2. Mark card Right or Wrong, this card will be removed from the deck and your score kept.
  3. At any point you can Shuffle, Reveal cards and more via Deck controls.
  4. Continue to reveal the wrong cards until you have correctly answered the entire deck. Good job!
  5. Via the Actions button you can Shuffle, Unshuffle, Flip all Cards, Reset score, etc.
  6. Come back soon, we'll keep your score.
    “Repetition is the mother of all learning.”
  7. Signed in users can Create, Edit, Import, Export decks and more!.

Bookmark to learn: Login to use bookmarks.

Share via these services ...

Email this deck:

Right: #
Wrong: #
# Right & # Wrong of #

In java, - is a reference variable that refers to the current object.


Back image: 

this can be used to refer - -instance variable.

current class

this can be used to - current class method (implicitly)


this() can be used to invoke current class -


this can be passed as an - in the method call.


this can be passed as argument in the c- call.


this can be used to return the - instance from the method.

current class

If there is ambiguity between the instance variables and parameters, this keyword resolves the problem of -


You may - the method of the current class by using the this keyword.


The this() constructor call can be used to invoke the - constructor.

current class

When you are declaring a class in java, you are just creating a -

new data type.

You can create an object from a -


Usage of the "new" keyword
First, you must - a variable of the class type. This variable does not define an object.


Second, you must acquire an actual, physical copy of the object and assign it to that variable. You can do this using the -. The - instantiates a class by dynamically allocating(i.e, allocation at run time) memory for a new object and returning a reference to that memory.

new operator

The new operator is also followed by a call to a class constructor, which initializes the -

new object.

A - defines what occurs when an object of a class is created. - are an important part of all classes and have many significant attributes.