Java vs Ruby: A Comparison of the Key Elements
Dec 14, 2007, 08:30 (18 Talkback[s])
(Other stories by Deepak Vohra)
"Ruby is an interpreted scripting language, whereas Java is a
compiled programming language. Ruby is similar to Java in that both
are object-oriented languages and are strongly typed. But, Ruby is
dynamically typed, whereas Java is statically typed. In Ruby, type
declarations are not used; in Java, type declarations are required.
Both Java and Ruby provide inheritance and have public, private,
and protected methods. Ruby is simpler than Java and faster than
Java too. Ruby is different from Java in a number of features. I
shall compare Ruby and Java on some of the salient features..."
Complete
Story
Related Stories: