Java programming

Saturday, July 11, 2015

Exception handling

- See when ever you use Thread.sleep(300) ---- when ever you use Thread, better use InterruptedException

Ex: public static void man(Strings args[]) throws InterruptedException {
 
Posted by Sreekanth's Projects at 2:28 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Sreekanth's Projects
View my complete profile

Blog Archive

  • ►  2020 (2)
    • ►  April (2)
  • ►  2019 (2)
    • ►  November (2)
  • ►  2018 (1)
    • ►  March (1)
  • ►  2016 (6)
    • ►  January (6)
  • ▼  2015 (45)
    • ►  December (19)
    • ►  September (5)
    • ►  August (2)
    • ▼  July (19)
      • Compare Strings
      • Package and Java Namespace
      • static
      • Handson
      • Running Java program from the command prompt
      • Eclipse
      • Run Configuaration - Supplying parameters during r...
      • Object Oriented Programming
      • Advantageous of java
      • Implicit and Explicit wait
      • Exception handling
      • Setters and Getters
      • Notes- Miscelleneous
      • Adding libraries to Java project
      • Instance variables
      • Staic variables
      • Q & A
      • Java set up on your machine
      • SetMethod or GetMethod --- Encapsulation...hiding ...
  • ►  2014 (12)
    • ►  February (12)
Simple theme. Powered by Blogger.