Computer Applications
A class encapsulates …………… .
- data
- methods
- functionality
- all the above
Related Questions
Through which access specifier, a class makes its element visible to all ?
- public
- private
- protected
- friendly
If a local variable is having the same name as that of a global class element, then it
- hides the global variable
- gets hidden by global variable
- produces an error
- none of the above
Java resolves duplicate variable name to ……………. .
- global variable
- local variable
- most local scope variable
- all the above
A member method that returns the value of a private data member is called …………… .
- setter
- getter
- manager
- accessor