Learn Java Easy. Chapter 21. The Conclusion

Chapter 21. The Conclusion Everything has gone as we expected. We’ve managed to get out of the prison without any complications. We’re continuing with the plan and we’re already at Pedro’s friend’s house. I don’t have much time, so the farewell will be short. I have no idea what the next destination of my escape … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 20. The Final Phase, Creating a Door Unlocking Tool

Chapter 20. The Final Phase, Creating a Door Unlocking Tool We have everything ready for the escape. As I’ve already told you, I will be in charge of opening the final door. Right next to the exit there’s a desk with a computer from which you can access the entire system and, by the way, … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 19 POO Exercises

Chapter 19 POO Exercises Typical object exercises using constructors Exercise 1: Create and Display Book Information. Create a Book class with title and author attributes. Use a constructor to initialize these attributes and a method to display the book’s information..   Solution:       Exercise 2: Create a Student class with name and age … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 19. Functions and OOP

Chapter 19. Functions and OOP Before moving on to the final phase of our plan, you need to understand a couple more things. I’m referring to functions and object-oriented programming exercises. At this point, you already master the syntax, but you program in a linear way. We’ve only made programs within the Main class. In … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 18. Intercepting Guard Conversations

Chapter 18. Intercepting Guard Conversations During the last phase of our plan, Rich and Pedro will stay a bit behind, and I’ll go ahead to take care of opening the door. I have very clear Instructions, so I don’t think there will be any problem.   Obviously, Bud and Pedro have much more Programming skill. … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 17. Decoding Communication Systems

Chapter 17. Decoding Communication Systems My escape companions have given me homework. I think what they’re trying to do is help me keep my mind occupied so I can be a little calmer. Bud is going to access the guards’ communication system and has asked me to help him.   If anyone finds out that … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 16 Exercises

Chapter 16 Exercises Exercise 1. Traverse an array of integers and print each number on a new line.   Solution:   Exercise 2. Traverse a String array and print each string on a new line.   Solution:   Exercise 3. Add all elements of an integer array and print the result.   Solution:   Exercise … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 16. Final Preparations / For-each Loops

Chapter 16. Final Preparations / For-each Loops There’s nothing left, we escape next Monday. Today is Tuesday, so we have enough time to prepare everything. Tomorrow Chani’s cousin will come and I’ll give him all the information. On the other hand, I need to explain to him exactly where we’ll meet. I also need to … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 15. Bypassing the Timer System

Chapter 15. Bypassing the Timer System The hallway leading to the prison exit is the most heavily guarded. You might think it’s because of fear that prisoners might escape through there, but that’s not the case. What happens is that everyone enters and exits through the same place. Both visitors and officers and prisoners always … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏

Learn Java Easy. Chapter 14 Exercises

Chapter 14 Exercises Exercise 1. Write a Program that saves the phrase ‘Hello World’ in a file called output.txt.   Solution:   Exercise 2. Write a Program that reads the content of the file called output.txt and displays it in the console.   Solution:   Exercise 3. Write a Program that copies the content from … Read more

Did you like it? Don’t keep it to yourself — share it like juicy gossip! 😏