Sunday, August 3, 2014

What is the Difference between Abstraction and Encspsulation

Abstraction is showing only necessary things, but Encapsulation is hiding complexity.
for example, if we have a user log in form then we need only user id and password and a function to put on login button this shows abstraction (only necessary things) but logic should be written in some other class file and this is Encapsulation(Hiding Complexity).

Related Posts:

  • Importance of having a school website www.pujaso.com 1. From school website, parents can see their children’s grades, what classes they’re taking, and if there have been any absences, or lateness. 2. Since schools always need to update their annou… Read More
  • [Solved:] Chrome Tab Closes on Click Chrome tab closes when i click on it: I really tucked when it happened with me. I googled it but i didn't find exact solution. Then i analysed and found that it is the only problem with the chrome. I was not able to open se… Read More
  • How to import Excel data to MySql Table How to import Excel data to MySql Table in simple 3 steps Step 1: Save your excel sheet as a CSV by using “Save As” Step 2: Delete the header if you have in the CSV file Step 3: Open PhpMyAdmin and click on the t… Read More
  • Outlook Shortcurts Outlook Shortcuts Ctrl+R: reply to email Alt+R: reply to all in email or switch to the work week calendar view Alt+W: forward email or switch to the weekly calendar view Ctrl+M: F9 to Send/Receive all Alt+S… Read More
  • Create great gallery design for your website quickly using Visual Light Box Need to create gallery for your website but can't write complex JQuery Code ?  No Worry, i will tell an easy way to do this. Here i am giving some simple steps where you can easily create beautiful gallery. Step 1: Dow… Read More

0 comments:

Post a Comment