When should you make a method private?

What will be an ideal response?

Make a method private if you don’t think other classes need access to it.

Computer Science & Information Technology

You might also like to view...

What is one way in which STP protects a redundant Ethernet network?

A) Protects against frames looping the Layer 2 domains B) Reduces collision domain size C) Identifies and deletes invalid MAC to IP address mapping D) Makes sure DTP VLANs do not have frame collisions

Computer Science & Information Technology

List and briefly explain at least five of the issues to consider when planning webpages.

What will be an ideal response?

Computer Science & Information Technology