Monday, October 19, 2026

New To Java Blog

Getting Started with Java: Understanding Object-Oriented Programming


Introduction


    Learning a new programming language can be exciting but also overwhelming, especially when you are unfamiliar with programming concepts. As a student pursuing a degree in Cyber and Data Security Technology, I am learning how Java works and how object-oriented programming (OOP) helps developers create organized, reusable, and efficient programs. I'm sharing some basic information that may help other beginners get started.


Getting Started with Java


    Before writing a Java program, make sure you have the necessary tools installed on your computer. Java is a popular programming language used to develop applications, websites, and software systems.

To begin, you will need the Java Development Kit (JDK), which provides the tools necessary to write, compile, and run Java programs. You may also want to install an Integrated Development Environment (IDE), such as Eclipse, IntelliJ IDEA, or Visual Studio Code, to make writing and testing code easier.

Here are some helpful resources for beginners:



    One of the first programs beginners typically create is called Hello World. This simple program displays a message on the screen and helps you understand how Java code is written and executed.


public class HelloWorld {

    public static void main(String[] args) {

        System. out.println("Hello, World!");

    }

}


    Although this program is simple, successfully running it is an important first step toward understanding Java programming.


What Is Object-Oriented Programming?


    Object-oriented programming is a programming approach that organizes code around objects rather than just instructions. An object represents something that has characteristics and behaviors.

For example, think about a smartphone. Its characteristics might include the brand, model, and battery level. Its behaviors might include making calls, sending messages, and taking pictures.

    In Java, a class acts as a blueprint for creating objects. The class defines the characteristics and behaviors, while an object is an individual instance created from that blueprint.

    OOP makes programming easier to organize, maintain, and reuse, especially when developing larger applications.


The Four Main Principles of OOP


    Java uses four major object-oriented programming principles: encapsulation, inheritance, polymorphism, and abstraction.


1. Encapsulation


    Encapsulation involves keeping data and the methods that work with that data together within a class. It also helps protect information by limiting direct access to certain data.

    For example, a banking application should not allow users to change their account balances directly. Instead, it uses controlled methods to deposit or withdraw money.

    From a cybersecurity perspective, encapsulation is important because it supports controlled access to information and helps prevent unintended changes to data. 


2. Inheritance


    Inheritance allows one class to build upon another class by reusing its characteristics and behaviors.

    For example, a general class called Vehicle might contain features such as speed and movement. A Car class could inherit those features while adding car-specific characteristics.

    This principle saves developers time because they do not have to rewrite the same code repeatedly.


3. Polymorphism 


    Polymorphism means that the same method or interface can produce different behaviors depending on the object using it.

    For example, imagine a notification system that sends messages through email, text messages, or mobile applications. Each notification type can use the send() method, but the actual delivery process differs.

    Polymorphism makes applications more flexible because developers can work with different types of objects through a common interface.


4. Abstraction


    Abstraction focuses on showing only the necessary information while hiding complicated internal processes.

    A good example is using an ATM. You can withdraw money, check your balance, or deposit funds without understanding the programming and banking systems operating behind the screen.

    In Java, abstraction allows developers to focus on what an object does without always needing to understand exactly how it performs each task.


Why Is OOP Important in Cybersecurity?


    As someone studying cybersecurity, I can see how understanding Java and OOP can be useful in protecting information systems. Many security applications rely on organized programming structures to manage users, process information, and perform security-related tasks.

    For example, encapsulation can help control how sensitive information is accessed, while abstraction can simplify the design of complicated security applications. Inheritance and polymorphism can also help developers create reusable components for different security functions.

    Although OOP alone does not make software secure, understanding these principles provides a foundation for developing applications that are easier to maintain, test, and protect.


Final Thoughts


    Learning Java and object-oriented programming takes patience and practice. As a beginner, I am realizing that understanding the basic concepts is just as important as learning how to write the code.

    My advice to anyone starting is to begin with simple programs, use available tutorials, and practice regularly. Do not become discouraged when something does not work the first time. Programming involves problem-solving, troubleshooting, and learning from mistakes.

    As I continue my education in cybersecurity, I look forward to building my programming knowledge and understanding how these skills can help me develop and support more secure technology systems.


References and Helpful Resources


Oracle. (n.d.). Lesson: Object-oriented programming concepts. https://docs.oracle.com/javase/tutorial/java/concepts/

JavaTpoint. (n.d.). Java OOP concepts. https://www.javatpoint.com/java-oops-concepts

Oracle. (n.d.). Java downloads. https://www.oracle.com/java/technologies/downloads/

Microsoft. (n.d.). Getting started with Java in VS Code. https://code.visualstudio.com/docs/java/java-tutorial

Monday, January 29, 2024

Network Management

 

What is Network Management?

           Network Management is the process of administrating and monitoring your network to keep it running smoothly (Iwuozor & Bottorff, 2023). Network administrators use tools, processes, and skills to guarantee the network runs efficiently and securely for users to be able to access easily (IBM, N.D.). Network management is broken down into five major categories to determine how networks are monitored and maintained:

  • Fault Management – minimizes downtime by isolating and resolving network faults or errors.
  • Configuration Management – maintains control by tracking routers, servers, switches, and firewalls, including configuration details to make changes while reducing errors.
  • Performance Management – monitors the speed, availability, and quality of service on the network.
  • Security Management – Protects the network from unauthorized access and threats by using firewalls, encryption, and authentication.
  • Accounting Management – monitors network metrics like bandwidth usage, storage consumption, and device access for accounting and billing purposes.

Information Technology and Network Management

           Information Technology is the study or use of systems for storing, sending, and retrieving information. Computers have been around since the 1940s and were used for performing calculations for military purposes (Vahid & Lysecky, 2019). Computers used to be the size of rooms with switches that are now the size of a pinhead (Vahid & Lysecky, 2019). Moore’s law states that switch size will reduce by half every two years, allowing computers to shrink in size (Vahid & Lysecky, 2019). 

Moore’s law is why computers have become so portable and popular that billions of them are connected. The Internet connects billions of computers using communication rules considered Internet Protocols (Vahid & Lysecky, 2019). A network of computers is a group of computers that share resources, usually located in one location. The Internet connects computers all over the world, which is considered the network of networks. The growth in computer usage has contributed to the growth of Information Technology jobs, including network management.  

 

Computer Hardware and Network Management

           Computer hardware is the physical parts of a computer (Vahid & Lysecky, 2019). The Central Processing Unit (CPU) is the brain of the computer and is the hardware that controls the other hardware on the computer by running program instructions (Vahid & Lysecky, 2019). You need powerful CPUs for processing huge amounts of network traffic and monitoring data to ensure efficient network operations. Memory random access memory (RAM) holds data temporarily to help the CPU run programs faster by copying small amounts of data from the drive on the RAM (Vahid & Lysecky, 2019). Having enough RAM will allow quick responses to network events because it has enough temporary data storage to process efficiently.

Application software, databases, and programming

           Programming is the four types of instructions that the CPU understands, including input, add, output, and stop (Vahid & Lysecky, 2019).  The CPU is the brain of the computer and is important for the network to run smoothly. Application software is a program designed to perform different tasks.  Network management uses Whatsup Pro to monitor websites and servers’ uptime and performances. It also uses application software like LANDesk that monitors installed systems and patches/updates operating systems.  

Influences on Network Management

           The right network design and layout controlled by the management rules and policies, all while fixing security issues and patches before they become an issue, keeps everything working well. Network management plays a key role in connecting computers and sharing resources smoothly, which allows these networks to connect all over the world, which is what the network of networks called the Internet. 

           

References:

 

IBM (N.D.). What is Network Management? IBM. https://www.ibm.com/topics/network-management

Iwuozor, J. & Bottorff, C. (2023, September 7). What is Network Management? Definition and Best Practices. Forbes Advisor. What Is Network Management? Definition And Best Practices – Forbes Advisor

Ren, J. & Li, T. (N.D.) Michigan State University. Chapter 12 Network Management.  network-management.pdf (msu.edu)

Vahid, F., & Lysecky, S. (2019). Computing technology for all. zyBooks.

 


Network Security

 


The increasing use of technology has risks for potential hackers to access your personal information.  When you use the internet, you leave electronic footprints that don't just keep a record of your posts but your activities that can be collected, used, or sold for good intentions but mainly bad intentions (Vahid & Lysecky, 2019).  Computers can be vulnerable to attacks, including security holes like distributed denial-of-service attack (DDoS), password cracking, email scams, and phishing.  Best practices to prevent your computer from vulnerabilities by installing and maintaining up to date antivirus, enabling a firewall to prevent unwanted communications with other devices, regularly scanning your computer for viruses or bugs, update often and install genuine software.   

Phishing Attacks and Password Cracking

 Phishing attacks are usually emails with links that look like emails from businesses or banks, but the link will send you to a site that looks real, but when you put in your information, it saves it.  Phishing attacks can also install malware when you click on the link inside the email (Bhardwaj, Chandok, Bagnawar, Mishra, & Uplaonkar, 2002).  These attacks are hard to catch if you're not paying close attention to small details.  The best way to avoid this is to never click on the link in an email if they are asking you to verify the information and sign into the site from a web browser.  These attacks are typically untraceable unless the malware slows down your computer or the account that you thought you logged into and shows signs of activities you aren't responsible for.  Another way to prevent someone from learning your passwords is to refrain from writing them down or saving them on your computer notes or documents.  Also, avoid having the same password for many accounts because if a hacker cracks one password, they have access to all your accounts.  If a hacker found a way to install spyware and use the information, they found to figure out your passwords.  

DDoS Attack

    In a distributed denial of service attack (DDoS), a personal computer or organization's online services are unavailable by flooding the internet traffic from multiple sources (Gaurnag, 2023).  The ping of death is a common (DDoS) attack using the command prompt to send multiple information requests to a computer or server, making it impossible to get information online.  The best way to prevent these types of attacks is to have a firewall software, or hardware that prevents unauthorized communication to other computers on a network (Vahid & Lysecky, 2019). 

Conclusion

    Computers on the internet are connected to everyone by the network and are at risk of many different threats.  Making sure you keep up to date antivirus and firewall software, running scans for viruses and bugs often, keeping software up to date and only genuine software is installed on your computer are best practices to prevent your computer from vulnerabilities.  Also using strong passwords that are changed often, don't use words or names, are not used for multiple sites, and are not written down will protect you from someone finding or figuring out your login information.  Being connected to the network allows access to lots of information and will enable people to track and steal your personal information.  

References:

Bhardwaj, A., Chandok, S. S., Bagnawar, A., Mishra, S., & Uplaonkar, D. (2022). Detection of Cyber Attacks: XSS, SQLI, Phishing Attacks and Detecting Intrusion Using Machine Learning Algorithms. 2022 IEEE Global Conference on Computing, Power and Communication Technologies (GlobConPT), Computing, Power and Communication Technologies (GlobConPT), 2022 IEEE Global Conference On, 1–6. https://doi.org/10.1109/GlobConPT57482.2022.9938367

Chen CL, Lai JL. An Experimental Detection of Distributed Denial of Service Attack in CDX 3 Platform Based on Snort. Sensors (Basel). 2023 Jul 4;23(13):6139. doi: 10.3390/s23136139. PMID: 37447987; PMCID: PMC10346265.

Cybersecurity & Infrastructure Security Agency. (2022, December 18). 4 Things That You Can Do To Keep Yourself Cyber Safe.  https://www.cisa.gov/news-events/news/4-things-you-can-do-keep-yourself-cyber-safe

Gaurnag, J., (2023, August 10). Vulnerability management, its impact and threat modeling methodologies.  IBM Security Intelligence. 

Vahid, F., & Lysecky, S. (2019). Computing technology for all. zyBooks. Chapter 7 and 8.

Computers in the Workplace: Food Service/Retail



          Information Technology has changed how our personal and professional lives operate daily.  The food/retail industry uses apps to promote deals, save money, keep track of rewards, order for pick up or delivery, and even different payment options.  Some places have self-checkout to help reduce lines or allow people to avoid conversations.  The food industry uses computers for people to order or place orders on their devices that automatically show up on computers in the kitchen- allowing people to make orders how they want, which is easy to read and consistent in format or order to speed the making process.  Everyone must be computer literate to order food or pay for items independently.  Employees need to know how to use these computers to help customers and be able to make food or ring up customers.  Most of the computers in this field are set up for quick and easy use.  For example, a POS (point of sales) computer has clearly labeled buttons for items to ring up and shortcut buttons for cash amount options.  Companies will update systems daily or weekly, removing or adding product options but also update to fix bugs and update software.  The kitchen monitors usually have fewer buttons like tap to silence the order and usually do this when they are about to make it.  The buttons would include:

  • A bumping button to remove the order from the screen.
  • A button to recall an order in case it needs to be remade.
  • A button or option to hit screen to silence order when it comes in.  
    The kitchen computers can track how long it takes to make orders and sometimes shows if you keep orders within a goal wait time.  This information can help companies improve customer goals, keep track of inventory, look for food trends to help know how much food to have on hand, and so much more.  Registers can keep track of all sales and refunds and even require a login to prevent people from stealing or tracking errors for training purposes.  The registers can be linked to an electronic safe, keeping track of the amount of money being dropped and protecting money from people trying to steal.  The electronic safe keeps money safe by only allowing the company like Brinks to have access to the safe minimizing the amount of access to the safe less likely the money is stolen.  If employees or customers can operate the devices correctly, that can prevent the business from losing money or having inaccurate data, including inventory and cash.

In 10 years, registers will be replaced with tablets, and there will be no more cash sales.  Local servers will no longer be necessary because the tablets, order points, and other computers will use WIFI and update to corporate servers directly.  Customers can scan and pay with their phones, minimizing the number of employees focused on ringing customers.  Operating systems will have stronger security, and the devices will be smaller.  Tablets will have small attachments that can process cards or take Samsung or Apple Pay.  

Traveling Through a Network: Ping and Tracert

    Ping tracing is used to check connection issues between a network and an IP address or server using a utility tool (Okta, 2022).  Data is sent in packets that can take different routes or hops to get to their destination (Okta, 2022).  Ping shows if the packet was sent and how long it took to be sent.  Traceroute builds upon ping but also gives you names of IP addresses of each piece of equipment that the packet travels through.  To access these tools all you need to do is search on windows for command prompt and open it.  Once the command prompt is open all you have to do is type ping and the website you want to check.  If you want to know the hops the packet of information passes through, then type the command tracert then the website.  Tracert will show three ping times for each hop the packet is delivered to.  When I pinged google.com it responded with the quickest time since it is our closest region compared to google.ca or google.jp.  The tracert command will send 3 packets of information giving three different ping times.  I can see that a different route is used to each destination and some of those hops have regional names that I can recognize.  Google.com went to a local Washington D.C. networking device while google.ca and google.jp traveled through a Culpeper Virgina networking device.  I can also clearly see that google.jp and google.ca take longer to reply because of their distance geographically.  However, the greater geographic distance does not mean that the packet travels through more networking hops, only that it took longer for the packets to travel to the destination and back again.  Using ping and tracert commands has helped me understand how packets of data travel through many network hops until it reaches its intended destination.  

    For troubleshooting purposes, ping can be used to consistently test one's connectivity to a reliable site and if you are getting a lost packet response you can then use the traceroute command to see where those packets are getting lost.  Providing this information to your internet providers tech support will help guide them to where the issue is occurring.  Time out error messages can be caused by many things, but most commonly malfunctioning network equipment, wireless interference, or equipment was just too busy to respond at that moment.  







References:

Okta. (2022, April 21). Ping Trace Techiniques for Network Connectivity Troubleshooting. Ping Trace Techniques for Network Connectivity Troubleshooting | Okta


Microsoft Office: Documenting a Day

 


    

      Microsoft Office basics consist of Word, Excel, and PowerPoint while Microsoft Professional Office can include the basics along with Publisher and Access.  Microsoft Word is a word processor application for creating formatted text, which includes font, size of text, color, margins, and much more (Vahid & Lysecky, 2019).  Microsoft Excel is a spreadsheet application that has tables of data including text, numbers, formulas, and more to show data (Vahid &Lysecky, 2019).  Excel can also be used to create forms that data changes based off the data imputed into the form.  Microsoft PowerPoint is a presentation application used to create a slideshow with text, pictures, and animation (Vahid & Lysecky, 2019).  Microsoft Word is best for creating papers like essays, books, cover letters, resumes, and other documents that mainly use words.  Excel is best for keeping track of finances, orders, product information, making labels, order forms, and much more.  PowerPoint is the best to use for enhancing a presentation by limiting text to important phrases, using pictures to help the audience see what you are talking about, and using animation to enhance the key takeaway text.  I used all three Microsoft Office applications to make a journal of my daily activities.  For my journal of the day Word allowed me to share most of the information about my day in greater detail.  Excel allowed me to see how I spent my time during the day but not in as much detail about my whole day.  Excel would be great if I wanted to find a way to manage my time better on a daily but also weekly or monthly time frames.  PowerPoint would be my first option if I was talking about my day in front of an audience because I could show pictures and key things about my day so they can imagine what it was like.  If someone was to review my PowerPoint about my day, they would miss a lot of details and wouldn't get the whole story if I wasn't presenting it to them.  Microsoft Office programs all have different ways to present information you are trying to share.  Microsoft Word is the best for long text information like essays and journals while Excel is great for charts and keeping data.  PowerPoint is best for presentations using pictures, animation, and a little text to help the audience take more information away from your speech.  

References:

Vahid, F., & Lysecky, S. (2019). Computing technology for all. zyBooks. Chapter 5.

University of New York. (N.D.). Microsoft Office. University of New York. https://subjectguides.york.ac.uk/it-essentials/office


New To Java Blog

Getting Started with Java: Understanding Object-Oriented Programming Introduction      Learning a new programming language can be exciting b...