Log in Sign up
1 Matching Annotations
  1. Jun 2023
  2. stackoverflow.com stackoverflow.com
    Private vs Protected - Visibility Good-Practice Concern
    1
    1. TylerRick 19 Jun 2023
      in Public
      I just wanted to tweak Java's BufferedReader to handle custom line delimiters. Thanks to private fields I have to clone the entire class rather than simply extending it and overriding readLine().
      member visibility: make it public/protected by default so others can override/extend as needed
    Visit annotations in context

    Tags

    • member visibility: make it public/protected by default so others can override/extend as needed

    Annotators

    • TylerRick

    URL

    stackoverflow.com/questions/8353272/private-vs-protected-visibility-good-practice-concern
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy