ORA·techORA·tech

Learn fast · Interview fast

Interview prep
Explore
  • Home
    • Overview
    • Question library
    • Interview sprint
    • Mock interview simulator
    • Memory review
    • Leaderboard
    • Free vs Pro
  • Tools
  • Dev Document
  • AI
  • Feedback
  • Generic Security
  • ISMS
ORA·tech
⌘K
20' interview
Sign in
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
anonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·techanonymous · 23:01 3/6/26 · ORA·tech
2026 ORA Team·Built with ❤️ for fast learners·Privacy·Terms·version f5e8cbb6
Library/Backend/Ruby
Easy#ruby

Phân biệt biến instance (@) và biến class (@@) trong Ruby

February 15, 2026

Quick summary

Instance variables (`@`) belong to individual object instances, whereas class variables (`@@`) are shared across the entire inheritance hierarchy. To avoid the data leakage risks of `@@`, Ruby developers typically prefer class-level instance variables.

Sample answer:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.

Quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.

Pro content

Unlock all Medium & Advanced questions with detailed answers.

Upgrade to Pro
Back to topic