1月15日開催!現年収非公開で企業からスカウトをもらってみませんか?PR

転職ドラフトでリアルな市場価値を測る。レジュメをもとに、企業から年収とミッションが提示されます。

0
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.

プログラミング学習Ⅱ Day1(クラスとは)

Last updated at Posted at 2021-12-03

クラス

  • オブジェクトを定義する機能をクラスという
  • クラスから作成されたオブジェクトをインスタンスという
  • クラス内で関数を定義するとそれはメソッド。"."で表現する
  • l.append()もメソッド
  • クラスとインスタンスは別
  • クラスは定義をするだけ
  • 中身ができたものがインスタンス
class クラス名:
    ブロック
0
0
2

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 Advent Calendar is held!

Qiita Advent Calendar is an article posting event where you post articles by filling a calendar 🎅

Some calendars come with gifts and some gifts are drawn from all calendars 👀

Please tie the article to your calendar and let's enjoy Christmas together!

0
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?

Login to continue?

Login or Sign up with social account

Login or Sign up with your email address