NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

static -> bellek adresinde sabit adres belirlendiğini gösterir. Herhangi bir değişken static olarak tanımlandığında tüm sınıflarda oluşturulabilen tüm nesneler aynı adresi ve veriyi kullanırlar. Bankalardaki döviz kurları gibi. Tüm nesneler için ayrı ayrı tutmak yerine bir tek yerde tutularak yer tasarrufu ve stabilite sağlanır. Bir değişken bir metod ya da bir obje olabilir. Static metodlar içindeki değişkenler de static olur.
final -> bir değerin son halini aldığını gösterir. Son halini aldıktan sonra değer değiştirilemez.
değişkenler scope'ları içerisindedir. this. şeklinde kullanırsak o anki nesnesi içerisideki değerini söyler.
Inheritance = Kalıtım ---> "Aynı zamanda" yı kullanabiliyorsak bu bir kalıtımdır.
extends = miras almak. !!!!!! subclass extends superclass !!!!!!
extend edilen classtan gelen bir metodu ilgili class için değiştirmek istediğimizde @Override kullanıyoruz. Koymasak da oluyor ama kullanmak görüntü ve bulunabilirlik açısından önemli. aynı class ta superclass taki metodu yeniden kullanabilmek için super. ile yazılarak kullanılabilir.
Sadece tek bir sınıf extend edilebilir. Final olan class lar extend edilemez.
Bir metodun subclasslar tarafından ezlememesi için final metod olarak yazılabilirler. Final olan metodlar override edilemez.
Polymorphism -->> "Aynı zamanda olduğu için" sorusuna cevap alarak metodları kullanma özelliğine denir.
instanceof -> calss ın hangi türden olduğunu sorabiliyoruz.
Interface -->> arayüz
Abstract method --> gövdesiz metod. içeriğindeki yapacağı işler üzerinde değil çağrıldığı classlarda yazılır. interface class ların içerisine yazılır.
interface i kullanırken kullancak olan class implements anahtar kelimesini kullanır. interface'teki tüm metodları override etmek zorunlu olucak. implement edilen yerde metodların içi doldurulabilir.
Interface'ler soyut yapılar. Bir şey yapmazlar.
Abstraction kavramı --> yarı soyut . bi kısmı soyut . bi kısmı gerçek .
interface ve abstract sınıflar new ile oluşturulamazlar.



     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.