Skip to content

Commit 2f36912

Browse files
authored
Except a man be born of water and of the Spirit
Jesus answered, Verily, verily, I say unto thee, Except a man be born of water and of the Spirit, he cannot enter into the kingdom of God. (John 3:5)
1 parent 81ce9a4 commit 2f36912

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
//Jesus answered, Verily, verily, I say unto thee, Except a man be born of water and of the Spirit, he cannot enter into the kingdom of God. (John 3:5)
3+
4+
package com.javarush.task.task38.task3810;
5+
6+
import java.lang.annotation.Retention;
7+
import java.lang.annotation.RetentionPolicy;
8+
9+
@Retention(RetentionPolicy.RUNTIME)
10+
public @interface Changelog {
11+
Revision[] value(); //напиши свой код
12+
}
13+
14+
/*
15+
Реализуй аннотации
16+
17+
Проект должен компилироваться и выводить аннотацию класса Solution.
18+
19+
Класс Solution и его аннотацию не менять.
20+
21+
Аннотация Changelog должна быть видна во время выполнения.
22+
23+
24+
25+
26+
27+
Требования:
28+
29+
1. Вывод на экран должен соответствовать ожидаемому.
30+
31+
2. На экран должна быть выведена аннотация @Changelog класса Solution.
32+
33+
3. Аннотация @Changelog должна быть видна во время выполнения программы.
34+
35+
4. В классе Solution должен быть реализован метод main с одним параметром типа String[].
36+
*/

0 commit comments

Comments
 (0)