Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain Ruby exceptions?



Explain Ruby exceptions?..

Answer / Shivam Shukla

In Ruby, an exception is an event representing the occurrence of some exceptional condition during the execution of a program. Exceptions can be raised and caught using 'raise' and 'begin-rescue' keywords respectively. They help to handle errors gracefully and prevent program crashes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Explain about the command line options?

1 Answers  


In how many ways you can compare Ruby string?

1 Answers  


What is the difference between a statement and an expression in ruby?

1 Answers  


How do the following methods differ: @my_string.strip and @my_string.strip! ?

1 Answers  


Tell me an array [1,2,34,5,6,7,8,9], product it using a method?

1 Answers  


What are the three levels of method access control for classes and what do they signify? What do they imply about the method?

1 Answers  


Explain the difference between a single quote and double quote?

1 Answers  


Explain retry statement in ruby.

1 Answers  


what the difference is between false and nil in Ruby?

1 Answers  


Please explain what is mvc and why do we use it?

1 Answers  


Mention what is the command to create a migration?

1 Answers  


Explain the use of ensure statement in Ruby?

1 Answers  


Categories