Home
Explore
Exams
Search for anything
Login
Get started
Home
Interfaces vs Abstract Classes
Interfaces vs Abstract Classes
0.0
(0)
Rate it
Studied by 0 people
View linked note
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/17
There's no tags or description
Looks like no tags are added yet.
Study Analytics
All
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
18 Terms
View all (18)
Star these 18
1
New cards
interface
only public static final variables
2
New cards
interface
variables must datatype and value
3
New cards
interface
final variables are not given default values inherently
4
New cards
interface
words public static and final are optional
5
New cards
interface
methods are all public and abstract; words are optional
6
New cards
interface
method header must end with a semicolon ;
7
New cards
interface
no constructors allowed
8
New cards
interface
only extend interfaces
9
New cards
interface
implemented by classes
10
New cards
interface
all methods must be overridden when implemented
11
New cards
abstract class
can have any type of variable
12
New cards
abstract class
can have abstract or concrete methods
13
New cards
abstract class
must write 'abstract'
14
New cards
abstract method
can not have {} braces; must end with a semicolon ;
15
New cards
non abstract method
must have {} braces
16
New cards
abstract class
public or private constructor needed
17
New cards
abstract class
extends other classes
18
New cards
abstract class
abstract methods must be overridden when extended