pctechguide.com

  • Home
  • Guides
  • Tutorials
  • Articles
  • Reviews
  • Glossary
  • Contact

Object Oriented Programming 8

And that's it for our introduction to using Object Oriented (OO) design techniques. We've looked at inheritance, multiple inheritance and polymorphism, and you can see how designing the class tree structure in this way forces the designer to fully understand the problem. It also defines very … [Read more...]

Filed Under: Object Oriented Programming

Object Oriented Programming – Examples

Earlier we developed a class inheritance tree for some game characters in a maze game, but we need to design another class, or class hierarchy, for the maze. Since we want the mazes to have different levels of difficulty, each level of maze will require slightly different functions. We can … [Read more...]

Filed Under: Object Oriented Programming

Object Oriented Programming 6

Now that we know what a class is, and how to derive classes using inheritance, we'll take a quick look at the slightly thorny issue of multiple inheritance. In the simplest terms, this is when a derived class has more than one base class. Theoretically a class may derive from any number of base … [Read more...]

Filed Under: Object Oriented Programming

Object Oriented Programming 5

To illustrate putting together an object oriented (OO) class hierarchy design, let's take a look at a simple maze game. We'll be creating an OO design, but we're not going to select a programming language at this stage. We'll see how we can analyse the problem from an OO perspective, and produce … [Read more...]

Filed Under: Object Oriented Programming

Object Oriented Programming 4

In object oriented (OO) programming, class inheritance is the process of deriving new classes from existing classes. It's a technique that was developed, at least in part, to enable the better reuse of existing code, but it can have its downsides too. It can lead to complications in the design … [Read more...]

Filed Under: Object Oriented Programming

Object Oriented Programming 3

Encapsulation From what we've covered so far we can suggest that: A class is an abstract data type made up of a combination of the relevant data and associated methods. Each class not only has specific data members, it also has it's member functions or methods. The methods are the tasks … [Read more...]

Filed Under: Object Oriented Programming

Object Oriented Programming 2

Imagine creating a blueprint for an intelligent robot. The robot's purpose is very simple: to open the curtains in the morning, and to close them at night. You call them CurtainBots, build three of them, and install them in your home. Great... Now, if you consider the blueprint as a … [Read more...]

Filed Under: Object Oriented Programming

Shocking Cybercrime Statistics for 2025

People all over the world are becoming more concerned about cybercrime than ever. We have recently collected some statistics on this topic and … [Read More...]

Gaming Laptop Security Guide: Protecting Your High-End Hardware Investment in 2025

Since Jacob took over PC Tech Guide, we’ve looked at how tech intersects with personal well-being and digital safety. Gaming laptops are now … [Read More...]

20 Cool Creative Commons Photographs About the Future of AI

AI technology is starting to have a huge impact on our lives. The market value for AI is estimated to have been worth $279.22 billion in 2024 and it … [Read More...]

13 Impressive Stats on the Future of AI

AI technology is starting to become much more important in our everyday lives. Many businesses are using it as well. While he has created a lot of … [Read More...]

Graphic Designers on Reddit Share their Views of AI

There are clearly a lot of positive things about AI. However, it is not a good thing for everyone. One of the things that many people are worried … [Read More...]

Redditors Talk About the Impact of AI on Freelance Writers

AI technology has had a huge impact on our lives. A 2023 survey by Pew Research found that 56% of people use AI at least once a day or once a week. … [Read More...]

Guides

  • Computer Communications
  • Mobile Computing
  • PC Components
  • PC Data Storage
  • PC Input-Output
  • PC Multimedia
  • Processors (CPUs)

Recent Posts

Updating the BIOS

In fact, motherboard manufacturers have made the process of updating your BIOS considerably easier, by providing software that allows this - and more … [Read More...]

Google presents its preliminary version Android 11 for developers

The demand for Android developers has been increasingly steadily in recent years. Unfortunately, there hasn't been a highly intuitive platform to … [Read More...]

Build a Website That Converts With These Tips

These days having a website is pretty much mandatory if you want to get your business noticed. Many consumers expect it and it is the first place they … [Read More...]

[footer_backtotop]

Copyright © 2025 About | Privacy | Contact Information | Wrtie For Us | Disclaimer | Copyright License | Authors