What is a Class?

Question:What is a Class?

1.An array uses indices and a hash uses "keys"

2.Classes are simply a convenient way to organize functions (also called methods). In pages_controller.rb, PagesController is a Class which holds a "home" action.

3.A controller is a container for a group of (possibly dynamic) web pages.

4.This maps requests for the URL /pages/home to the home action in the Pages controller.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!