Created
May 23, 2017 08:19
-
-
Save fermopili/2849ebe75e6f166ecf3856389bb75e39 to your computer and use it in GitHub Desktop.
com.javarush.task.task38.task3807
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task38.task3807; | |
/* | |
Предопределенные типы аннотаций (Predefined Annotation Types) | |
*/ | |
@Deprecated | |
public class Solution | |
{ | |
@Deprecated | |
private String[] arguments; | |
@Deprecated | |
@SafeVarargs | |
public Solution(String... arguments) | |
{ | |
this.arguments = arguments; | |
} | |
@Deprecated | |
public void voidMethod() throws Exception | |
{ | |
} | |
@Deprecated | |
public static void main(String[] args) throws Exception | |
{ | |
new Solution ( ).new SubSolution ( ).voidMethod ( ); | |
} | |
@Deprecated | |
class SubSolution extends Solution | |
{ | |
@Deprecated | |
@Override | |
public void voidMethod() throws Exception | |
{ | |
super.voidMethod ( ); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment