aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
Multiple choice

Which of the following is/are the correct initialiser/s for NSNumber class in Objective C?

    • (id)initWithBool:(BOOL)value;
    • (id)initWithFloat:(float)value;
    • (id)initWithInt:(int)value;
    • (id)initWithLong:(long)value;
  1. All of these

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Yes, all are correct.

Keep practicing — related questions

  • Which of the following is/are incorrect about declaring constructor in Objective C?
  • Which of the following is an incorrect statement about the NSNumber class in Objective C?
  • What is the default value for an INITIALIZE?
  • Which of the following is/are correct about NSLog() in Objective C?
  • A TextObject having ID=100, has initial value of "Intial Value" The following code operation is performed o...
  • Which of the following methods of Float class is used to return a true value if the invoking object contain...
  • Which of the following types of constructor function should be used to initialise the various data elements...
  • The following are data type conversions that would be performed when initializing variables. Which one may ...

Practice this topic

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