@SuppressWarnings("unchecked")

Sun May 09, 2010 7:37 pm

You can close (Suppress) compiler warnings that appears for a specific java function or class like the following :

For example like this

Code:

public class Main 
{

    @SuppressWarnings("unchecked")
    public static void main(String[] args) {
      System.out.println("This function warnings are not checked");
       //TODO , write your code here . 
   
    
}

}
 




  Related Posts  to : @SuppressWarnings("unchecked")
 Make your own Visual Basic 6 Version of "Tail for windows"     -  
 Program for "Selection of arithmetic operations" in Java     -  
 Invalid unicode sequence error ("u")     -  
 How to save in a file the ASCII Characters? Like "☺"     -  
 help for "Note pad code in java"     -  
 How to add "Description" on every topics ?     -  
 Free "tail -f" Tool for all Platforms: Tail for Windows, Tai     -  
 how to write a "c' program on fibannoic series     -  

Topic Tags

Java Basics