DEADSOFTWARE
GIT
/
REPO
/
FRED-BOY
Projects
/
LongFlight.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial commit.
[LongFlight.git]
/
src
/
code
/
kalter
/
longflight
/
Quote.java
1
package
code
.
kalter
.
longflight
;
2
3
/**
4
* Цитата и её автор
5
*
6
* @author KalterFive
7
*/
8
public class
Quote
{
9
10
private final
String quote
;
11
private final
String author
;
12
13
public
Quote
(
String quote
,
String author
) {
14
this
.
author
=
author
;
15
this
.
quote
=
quote
;
16
}
17
18
public
String
getQuote
() {
19
return
quote
;
20
}
21
22
public
String
getAuthor
() {
23
return
"(c) "
+
author
;
24
}
25
}