Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【覚えておくと便利!!!】Eclipseにおける継承クラスの簡易作成

Posted at

1.事前知識

事前知識として、上記リンクの内容が必要です。

2.スーパークラスからサブクラスの簡易作成

03.png

  1. [ファイル(F)]→[新規(N)]→[クラス] を選択する。
    01.png
  2. 参照 ボタンをクリックする。
    02.png
  3. 継承したいクラス を選択し、OK ボタンをクリックする。
    03.png
  4. スーパークラス を確認し、完了 ボタンをクリックする。
    04.png
  5. サブクラス の作成が確認できたら成功。

2.サブクラスからスーパークラスの簡易作成

05.png

  1. サブクラス にするファイル内で 右クリック し、 [リファクタリング(T)]→[スーパークラスの抽出(T)] を選択する。
    06.png
  2. スーパークラス名 を入力し、 完了 ボタンをクリックする。
    07.png
    08.png
  3. サブクラススーパークラス の作成が確認できたら成功。

3.おまけ:System.out.println()の簡易作成

09.png

  1. sysout と入力し、キーボードの Ctrl + Space を押す。
    10.png
  2. System.out.println() の作成が確認できたら成功。

3.関連

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?