Java abstract modifier [Note]

Studying for Java SE 8 exam ... (´- `) If you try to memorize everything, you will not understand it immediately, so I will write it as a memorandum to deepen my understanding of the contents ...

You can't use this and this together ... don't try to remember. I don't remember. (Self-discipline)

■ There is no such thing as final abstract

Speaking of final, it cannot be rewritten. ~~ I remember VHS that can't be overwritten when I take the claws ... w ~~ ** Override ** You can't do that.

Speaking of abstract, it is abstract. The contents have not been decided yet. That's why you can't use it unless you ** override ** the method in the child class.

So "It's ** abstract **, but if you set it to ** final **, you can't ** override **." That's right.

■ There is no such thing as static abstract

abstract is as mentioned above It's a method that can't be used ** unless it's overridden because it hasn't been decided yet. Classes with abstract cannot be new because they have not been decided yet. The method with abstract means that it cannot be used unless it is overridden because it has not been decided yet.

static is the one that becomes a ** usable ** member without instantiation, that is, without new.

So "I haven't decided yet ** abstract **, but if I add ** static **, I can use it." That's right.

If you understand the meaning of each modifier You don't need to remember something like this and this can't be used together.

Recommended Posts

Java abstract modifier [Note]
Access modifier [Java]
java (abstract class)
[java] abstract class
java final modifier
[Java] Internal Iterator Note
Java JUnit brief note
[java] Java SE 8 Silver Note
[Note] Java: String search
[Note] Java: String survey
My Study Note (Java)
About java abstract class
java: Add date [Note]
Advanced inheritance abstract, interface -java
Java tips --StaticUtility class modifier
(Note) Java classes / variables / methods
Java basic learning content 5 (modifier)
Java learning memo (abstract class)
[Java] [Spring] Spring Boot 1.4-> 1.2 Downgrade Note
About abstract classes in java
Study Java with Progate Note 1
Java abstract methods and classes
Note
Java, abstract classes starting from beginners
[Note] Java Silver SE8 qualification acquired
[Java] Points to note with Arrays.asList ()
Note
Note 1: Elementary, stumbling blocks (java, javascript)
[JAVA] Difference between abstract and interface
Java
[Note] Handling of Java decimal point
My note: Introducing Java to Ubuntu
Java
A note on the differences between interfaces and abstract classes in Java
Note: Differences from Java as seen from C #
[Java Silver] Summary of access modifier points
JAVA learning history final modifier and static modifier
Pass parameters when debugging vscode java. [Note]
[Beginner] Java method / class / external library [Note 23]
Java SE 8 Silver (Java SE 8 Programmer I) Pass Note
Basic knowledge of Java development Note writing
Note: next ・ nextLine (paiza learning Java introduction 9: # 06)
[Note] Cooperation between Java and DB (basic)
How to use Java Scanner class (Note)
JAVA learning history abstract classes and methods
[Beginner] Points to be aware of after Java exercises / Inheritance / Abstract method [Note 26]