《Programming Wizards!》Levels
Advertisement
He was awoken by the sound of laughter. Amare and Oseye were talking. He tried to sit upright but he was covered in blankets. “You’re awake,” he said and they stepped closer.
“Mild hypothermia,” she said. “Like this loser,” she pointed to Amare.
“Hey, I didn’t know!”
“So, you and him talk all the time and all of a sudden he decides to do the same thing you did?”
“I—I didn’t tell him about it.”
“He didn’t ask what was wrong with your face?”
“He did, but I didn’t tell him that it was dangerous to fly so high!”
“So, you conveniently left out that part and he goes on to do the same thing a couple days later.”
“Right,” he said defeatedly. “You’re right, Oseye. I should have told him.”
“I’m just saying. I’ll tell Shuang he’s awake.”
“Andrew, what’s going on here?” he pointed to the screen. “It’s not letting me access the ‘Value’ variable.”
class TestClass { int Value; } void Main() { TestClass x1 = new TestClass(); x1.Value = 1; }
“The ‘x1.Value’ line is throwing an error.”
“Here,” pointed Andrew at the error message. ‘The field TestClass.Value is inaccessible due to its protection level.’
class TestClass { public int Value; }
The error was gone. “Classes’ protection level is ‘private’ by default?”
“Yes, in the language you’re using, it is. You had to mark it as ‘public’ to be able to access the variable from outside of the class.”
“How are you feeling?” asked Amare.
“Amare,” said Vick with a pitiful look. “I saw her.”
He knew without another word who Vick was talking about, and the smile on his face vanished. He took a seat beside the bed. “Did she reach for you, too?”
Advertisement
“She did.”
He covered his face with his hands and began sobbing.
“Amare,” worryingly he said and tried to reach out to him but the blankets were wrapped around his arms. “Amare,” he said again. “Maybe it was a hallucination.”
“I have to—” he said through his tears. “I have to—I have to go up there again.”
“Amare, no. You can’t.”
“But, she’s waiting there.”
“We don’t know if it is her.”
“You said,” he looked at Vick, “it was her.”
“Amare,” he paused, and he wanted to take back his words, he had never seen him in such despair. “I thought it were her because you thought it were her.”
“No, I swear it were her. Didn’t they disappear over the clouds? Lost on the radar, above how many meters?”
He tried to remember, and it didn’t take long. He remembered the incident like it were yesterday. “Fifteen-thousand.”
“Fifteen-thousand meters, Vick. We have to go back.”
“With a heater,” he responded instantly.
“I honestly like this better than class,” said Willard. “We should meet to review occasionally.”
“Mister Vick sucks at teaching,” said Roy. “That’s for sure.”
“Mister Vick looked tired yesterday,” said Gus.
“I’m sure that was the reason for his absence today,” said Andrew. “Everyone’s got to take breaks. He’ll be better equipped to teach us soon.”
“Andrew,” said Roy. “I set it to one here, but when I print it out, it’s two.”
“Oh, that’s because the variable is a reference to the object.”
void Main() { TestClass x1 = new TestClass(); x1.Value = 1; TestClass x2 = x1; x2.Value = 2; Console.WriteLine(“x1: ” + x1.Value); Console.WriteLine(“x2: ” + x2.Value); }
Advertisement
“Object?”
“Yes, an instance of a class is an object.”
“Ah, now I remember Mister Vick teaching us that. The class is like a blueprint and using the ‘new’ keyword makes an object from that blueprint?”
“Exactly. You seem to be catching on quick, Roy.”
“That still doesn’t explain why both of them are—” he paused. “I see, reference type?”
“You figured it out on your own.”
“You helped jog my memory, thank you.”
Advertisement
- In Serial13 Chapters
Overlord: The Untold Tale
After an intense 12-year run, the game servers of a popular DMMO-RPG called YGGDRASIL are about to be shut down. In the last few moments of the game, a player by the name of Ulbert Alain Odle decided to stay logged in, to enjoy the last moments in his beloved game. Yet the shutdown did not go as planned... Will be returning soon with a new chapter - RKD 18/11/2020
8 212 - In Serial8 Chapters
A Truly Bizarre Collection of Flash Fiction
A collection of flash fictions that range between 100-300 words in length. Some are happy, some are tragic, and some I truly do not understand! Read at your own risk!
8 178 - In Serial6 Chapters
Land of Blood: Returning of Origins
In the thousand years after the "First Invasion", the Great Continent of Zebois has always been experiencing an everlasting change. The land which was originnally filled with wars and disputes between the four races, had been changed into a war between the four races alliance against the invader, the "Dregoreth" race. Follow Evric's adventure in the Land of Blood to obtain the Absolute Power of Origin and stand against the arrogance of the world.
8 137 - In Serial7 Chapters
Movie Central
King's Cinema, Warrior's Abode, the Romance is killin' ya, so let's start the show. On this Infinite Road, onwards we go. I'm Xavier Riddle and I'll be your host.
8 161 - In Serial17 Chapters
A Knight's Promise
Creation a place where anything and everything is possible, A nomadic warrior race called the Zerrohnians once a powerful species of 7-foot tall giant warriors. They are the greatest defenders of Creation and known by the name of Knights through the actions of their sister race called Xer-razh they were forced to abandon their home of Requiem. A Promise was made to their home that they will never repeat the same mistake and vow to protect their new home. Here they shall write their story here they shall right their wrongs may none find them wanting.
8 204 - In Serial36 Chapters
Enemies to lovers (Cassandra x Reader) (Pico's School)
I know what you guys are thinking, but still, I hardly see stories of this, so. Anyways, this is a y/n story where you are the character in the story. This is mostly for the simps for Cassandra you know who you are. ( ͡° ͜ʖ ͡°)Continuing on, I do not know how you act like so I will give you some characteristics in the story. Y/N: Brown haired, Fashion style: any apart goth, moved in from another state, likes goth but would rather stay away from people who are gothic based on events until you meet Cassandra, and yeah, you know the rest. By the way, there may also be TW during these stories for example, gore, shootings, gun using, swearing, so keep an eye out for them.Also my grammar may suck during this. It's my first time writing a Wattpad book, so expect mistakes throughout this story.I post 1-3 or maybe more parts every day. :)Enjoy this random trash I did.I ALSO DECIDED TO CHANGE Y/N'S PRONOUNS TO THEY/THEM JUST IN CASE THE READER IS MALE, FEMALE, NON BINARY, ETC. IF I MADE ANY MISTAKES WITH THE PRONOUNS, PLEASE TELL ME.This also includes if I messed anything up in the story. Please let me know.
8 202

