<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Subtopic 1.1 Designate access and visibility constraints to classes, data, constructors, and methods.Subtopic 1.2 Designate private visibility of instance variables to encapsulate the attributes of an object. by Sabah Mhanna</title>
      <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2025-01-11 17:23:52 UTC</pubDate>
      <lastBuildDate>2025-01-22 10:00:29 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f4ac.png</url>
      </image>
      <item>
         <title></title>
         <author>schoolgate2021</author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3287433501</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2022651050/7c924385fbfa9e7e3abf3104de36cdec/Screenshot_2025_01_11_at_10_16_47_PM.png" />
         <pubDate>2025-01-11 18:17:47 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3287433501</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785361</link>
         <description><![CDATA[<p>Ayesha Waleed Alhammadi </p><p>Q1.1: </p><ul><li><p><strong>Public</strong>: Can be accessed by any class.</p></li><li><p><strong>Private</strong>: Can only be accessed within the same class.</p></li><li><p><strong>Protected</strong>: Can be accessed within the class, its subclasses, and same package.</p></li><li><p><strong>Default</strong>: Can only be accessed within the same package.</p></li></ul><p><br></p><p>Q1.2: </p><p>Making instance variables <strong>private</strong> means they can’t be accessed directly from outside the class. This is called <strong>encapsulation</strong>. Instead, you use special methods (called <strong>getters</strong> and <strong>setters</strong>) to access or change the data.</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 09:50:34 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785361</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785512</link>
         <description><![CDATA[<p>Fatima Waleed 11 CAI</p><p><br></p><p><strong>Access and Visibility Constraints in Java</strong></p><p>Access and visibility constraints in Java control <strong>who can access classes, methods, and variables</strong> using <strong>access modifiers</strong>:</p><ol><li><p><strong>public</strong>: Accessible everywhere.</p></li><li><p><strong>protected</strong>: Accessible within the same package and in subclasses.</p></li><li><p><strong>default</strong> (no modifier): Accessible only within the same package.</p></li><li><p><strong>private</strong>: Accessible only within the same class.</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 09:50:42 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785512</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785519</link>
         <description><![CDATA[<p>public and private </p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 09:50:42 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785519</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785654</link>
         <description><![CDATA[<p>Mariam Alshamsi</p><p><br></p><ol><li><p>public and private</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 09:50:49 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785654</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785924</link>
         <description><![CDATA[<p>In Java, access and visibility constraints, also known as access modifiers, control how different parts of your code can interact with each other.</p><p><br></p><p><br></p><p><br></p><p>Public: This is like the front door, open to everyone. Any part of your program can access public members.</p><p><br></p><p>Private: This is like a bedroom, accessible only to the owner of the room (the class itself).</p><p>Rayan</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 09:51:08 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785924</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785994</link>
         <description><![CDATA[<p>Naseem</p><p>Public and private </p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 09:51:10 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291785994</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291786480</link>
         <description><![CDATA[<p><strong>public - members are accessible from outside the class</strong>. <strong>private - members cannot be accessed (or viewed) from outside the class</strong>.</p><p><br/></p><p>Salama Ali </p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 09:51:33 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291786480</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291787180</link>
         <description><![CDATA[<p>Maitha naser alreqabi</p><p><br/></p><p>Private (inaccessible) and public(accessible)</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 09:52:12 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291787180</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291804528</link>
         <description><![CDATA[<p>Public: can be accepted by anyone. Private:  can be accessed by only some limited people</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 10:07:02 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291804528</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291805631</link>
         <description><![CDATA[<p>//* Mariam Alshamsi</p><p>11 CAI</p><p>6098638*/</p><p>public class Snack { </p><p>    private String name;</p><p>    private int numCalories;</p><p>}</p><p>//default constructor</p><p>    public Snack() {</p><p>        <a rel="noopener noreferrer nofollow" href="http://this.name">this.name</a> = "";</p><p>        this.numCalories = 0;</p><p>    }</p><p>    //parameterized constructor</p><p>    public Snack(String name, int numCalories) {</p><p>        <a rel="noopener noreferrer nofollow" href="http://this.name">this.name</a> = name;</p><p>        this.numCalories = numCalories;</p><p>    }</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 10:08:02 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291805631</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291805728</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3271055605/4e710183cdfd71f3d0fa5abba3ed3b46/IMG_4250.jpeg" />
         <pubDate>2025-01-15 10:08:08 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291805728</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291806322</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3271052692/a3ebb27d1015f158a75e77aef3249a31/IMG_4495.jpeg" />
         <pubDate>2025-01-15 10:08:46 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291806322</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291807012</link>
         <description><![CDATA[<p>public class Snack {</p><p>private String name;</p><p>private int numCalories;</p><p>// Default constructor</p><p>public Snack() {</p><p>name = "Unknown";</p><p>numCalories = 0;</p><p>}</p><p>// Parameterized constructor</p><p>public Snack(String name, int numCalories) {</p><p><a rel="noopener noreferrer nofollow" href="http://this.name">this.name</a> = name;</p><p>this. numCalories = numCalories;</p><p>｝</p><p>｝</p>]]></description>
         <enclosure url="" />
         <pubDate>2025-01-15 10:09:29 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291807012</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291807095</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3271128544/f0a971e43eb2baf7e651715480f488e5/image.png" />
         <pubDate>2025-01-15 10:09:33 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291807095</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291807439</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3271145248/9ba0fb7f4b25d182eaffe9f7a73ae294/image.jpeg" />
         <pubDate>2025-01-15 10:09:53 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291807439</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291811008</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3271065215/b458eb20b2789f3dbee3be0b1438996c/image.png" />
         <pubDate>2025-01-15 10:13:14 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291811008</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291812282</link>
         <description><![CDATA[<p>Fatima Waleed 11 CAI  </p><p><br/></p><p><br/></p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3271062165/77a47d4e63ef9cbd8bd93ff156d7c8a5/Screenshot_2025_01_15_141357.png" />
         <pubDate>2025-01-15 10:14:37 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291812282</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291813334</link>
         <description><![CDATA[<p>Rayan</p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/3271166288/681c62df83afb4b50078ff773f36bb0f/IMG_7647.jpeg" />
         <pubDate>2025-01-15 10:15:34 UTC</pubDate>
         <guid>https://padlet.com/schoolgate2021/2jux31q1mmnlaoo/wish/3291813334</guid>
      </item>
   </channel>
</rss>
