• Janiiii
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi All,

 

1. What is the best way of using try and catch in apec code?

2. What is disadvantage of putting whole code in try catch ? for example --

 

public class Demo{

try{

 

 

 /**here put all code

 

 

}catch(exception e){}

 

 

}

 

Thanks in Advance

CloudMaster