Discussion Forum

  1. Home
  2. »
  3. Languages
  4. »
  5. Which among the following is...
Which among the following is the correct form of applying an attribute?

class sample
{

}

(Serializable())class sample
{

}

[Serializable()] class sample
{

}

None of the mentioned

Answer: C . [Serializable()] class sample
{

}
0Shares
0 0

If you think the posted answer is wrong or Confused About the Answer? Ask for Details Here

Know Explanation? Add it Here
we’ll review your comment and contact you soon….

Leave a Reply

Your email address will not be published. Required fields are marked *

0Shares
0
Scroll to Top