aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Aptitude Test
  • In JAVA language, the operations you can perform on an ob...
Multiple choice

In JAVA language, the operations you can perform on an object reference is/are

  1. assigned the reference to a value

  2. invoked a method on the reference

  3. extracted a field from the reference

  4. casted the reference to another

Reveal answer Fill a bubble to check yourself
D Correct answer

Keep practicing — related questions

  • In a method call when an object reference is passed as an argument , So what gets passed actually ?
  • To assign an object reference, what is the keyword that is used?
  • When an instance of a class, or object, is specified as a parameter to a method, a reference to the said ob...
  • When an instance of a class, or object, is specified as a parameter to a method, a reference to the said ob...
  • Which of the following are the operations that an object can perform?
  • Casting from reference type to value or vice versa is called as
  • Casting from reference type to value or vice versa is called as
  • 1. public class Test { 2. public static void main(String args[]) { 3. class Foo { 4. public int i = 3; 5. }...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Object-Oriented Programming (2239 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy