# data[].attributes.headline
Q1 Object Oriented Programming -Alejandro H

# data[].attributes.subject
Q1 Object Oriented Programming -Alejandro H

# data[].attributes.body
Object Oriented Programming is a programming language model organized around objects rather than "actions" and data rather than logic. Objects can be things such as people or locations or actual objects.

Peter Francis Geraci

# data[].attributes.body
An array is a large container for storing multiple variables that can all be changed and accessed.
Use this when you have a large # of variables to keep track of or change
*name*array[#] = ____;
*name*array[#] = ____;
etc.

# data[].attributes.headline
1.) What does object oriented programming mean? - Jacob H

# data[].attributes.subject
1.) What does object oriented programming mean? - Jacob H

# data[].attributes.body
The type of programming in which the programmers define the data type and the functions that can be applied to a data type. Ex: Java

# data[].attributes.headline
1. Object Oriented Programming Tony Acosta Hernandez

# data[].attributes.subject
1. Object Oriented Programming Tony Acosta Hernandez

# data[].attributes.body
Object Oriented Programming is a programming language model organized around objects rather than "actions" and data rather than logic. Objects can be things such as people or locations or actual objects. These programs include Java and c++, as well as others.

# data[].attributes.body
An interface is a set of empty, but
predefined methods that will always maintain the same general function and use no matter what program it is used in or who implemented it into their program. Interfaces are used when a program is meant to be more easily understood by other programmers who didn't design it originally. If a programmer recognizes the function of a certain interface, they can understand its use and properties without further analyzing the actual implementation of it.

# data[].attributes.headline
1. Object Oriented Programming: Samuel Castrejon

# data[].attributes.subject
1. Object Oriented Programming: Samuel Castrejon

# data[].attributes.body
Is a programming language model organized around objects rather than "actions" and data rather than logic.

# data[].attributes.headline
Ben Cowing oobejct oriental pragrammind (#2)

# data[].attributes.subject
Ben Cowing oobejct oriental pragrammind (#2)

# data[].attributes.body
Programing centered around manipulation of data, instead of logic.

# data[].attributes.body
A variable is a storage location for an identifier(such as int, string, etc.)  which contains a known or unknown value.
Example: int NumberOfCars = 2;
In this instance, the variable is number of cars, which is assigned the value "2", and the identifier is the "int", which stands for integer.

# data[].attributes.body
A variable is a container for storing a single data point.
int x = 3;

# data[].attributes.body
a variable is a value stored in an object an example would be hand=5;

# data[].attributes.body
An array is a series of objects all of which are the same size and type. You would use this when you are trying to store values that are the same type.
double[] a; // declare the array
a = new double[n]; // create the array

# data[].attributes.body
A Java variable is a piece of memory that can contain a data value.
int number;
number = 10;

# data[].attributes.body
An array is a container object that holds a fixed number of values of a single type.

class ArrayDemo {
    public static void main(String[] args) {
        // declares an array of integers
        int[] anArray;

        // allocates memory for 10 integers
        anArray = new int[10];

        // initialize first element
        anArray[0] = 100;
        // initialize second element
        anArray[1] = 200;
        // and so forth
        anArray[2] = 300;
        anArray[3] = 400;
        anArray[4] = 500;
        anArray[5] = 600;
        anArray[6] = 700;
        anArray[7] = 800;
        anArray[8] = 900;
        anArray[9] = 1000;

# data[].attributes.headline
Object Oriented Programming: Greg Matos 

# data[].attributes.subject
Object Oriented Programming: Greg Matos 

# data[].attributes.body
-a programming language model organized around objects rather than "actions" (commands/functions) and data rather than logic. Historically, a program has been viewed as a logical procedure that takes inputed data, processes said data , and produces output data.

# data[].attributes.body
A function/method that executes in response to an event, like a key stroke or a mouse click.

# data[].attributes.body
Classes can be derived from other classes, thereby 'inheriting' methods from its parent class.

# data[].attributes.body
-a variable is a storage location paired with a symbolic name (an identifier), which contains some known or unknown quantity of information referred to as a value.
(Can be letters or numbers)

# data[].attributes.body
public class SortingHat{
public String student;

public void setStudent(String pStudent){
student = pStudent;
}
}

# data[].attributes.body
public class SortingHat {

public String student;

public void setStudent(String name) {
student = name;
}

}

# data[].attributes.body
An interface is a set of empty, but
predefined methods that will always maintain the same general function and use no matter what program it is used in or who implemented it into their program. Interfaces are used when a program is meant to be more easily understood by other programmers who didn't design it originally. If a programmer recognizes the function of a certain interface, they can understand its use and properties without further analyzing the actual implementation of it.

# data[].attributes.body
A while loop is a loop that continues while a condition is met, and ends when it is no longer met.

# data[].attributes.body
A while loop is a type of loop statement where, like other loop statements, will repeat until the conditional statements are met. The format for a while loop is as follows;
Formatting example:
while(conditional statement){
if the conditional statement is true do ‘this’
Continue doing ‘this’ until the conditional statement is false
}
Real life example:
while(counter<10)
{
counter=counter++;
System.out.println(counter);
}
This will print the counter as it increases by 1 as long as it is smaller than 10, if counter is above 10 to begin with, it will never go through the loop.

# data[].attributes.body
public class Gryffindor extends SortingHat

This is an example of inheritance because the class Gryffindor inherits the variables and methods of SortingHat.

# data[].attributes.body
an array is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key. An array is stored so that the position of each element can be computed from its index tuple by a formula

# data[].attributes.body
public class Gryffindor extends SortingHat{}

This is an example of inheritance because the subclass is inheriting properties from the superClass

# data[].attributes.body
A package is a collection of similar classes. It functions like a folder on a computer.

# data[].attributes.body
int[] array = new int[5];
array[2] = 5;
array[4] = 10;

# data[].attributes.body
int[] myNums = new int[21];
array[0] = 1;
array[1] = 1;

sum = array[0] + array[1];

# data[].attributes.body
public class SortingHat
{
public String student;
public SortingHat()
{
student = "";
}

public void setStudent(String name)
{
student = "name";
}
}

# data[].attributes.body
An event is a function in computer programming that waits for a user input before it proceeds, while a listener is basically a loop that activates in response to the listener.
For example a button can be pressed acting as an event and the listener can open up some kind of interface for you to interact with.

# data[].attributes.body
Baby don't hurt me
Don't hurt me
No more

Baby don't hurt me, don't hurt me
No more
What is love?
Yeah

I don't know why you're not fair
I give you my love, but you don't care
So what is right and what is wrong?
Gimme a sign

What is love?
Baby don't hurt me
Don't hurt me
No more

What is love?
Baby don't hurt me
Don't hurt me
No more

Oh, I don't know, what can I do?
What else can I say, it's up to you
I know we're one, just me and you
I can't go on

What is love?
Baby don't hurt me
Don't hurt me
No more

What is love?
Baby don't hurt me
Don't hurt me
No more

What is love?
What is love?
What is love?
Baby don't hurt me
Don't hurt me
No more
Don't hurt me
Don't hurt me

I want no other, no other lover
This is our life, our time
We are together I need you forever
Is it love?

What is love?
Baby don't hurt me
Don't hurt me
No more

What is love?
Baby don't hurt me
Don't hurt me
No more

Yeah, yeah, (woah-woah-woah, oh, oh)
(Woah-woah-woah, oh, oh)

What is love?
Baby don't hurt me
Don't hurt me
No more

What is love?
Baby don't hurt me
Don't hurt me
No more

Baby don't hurt me
Don't hurt me
No more

Baby don't hurt me
Don't hurt me
No more
What is love?

# data[].attributes.body
public class Gryffindor extends SortingHat
{
public Gryffindor()
{
super();
}
}

This is an example of inheritance because Gryffindor has the same properties of SortingHat, and we know this because not only of the keyword 'extends' in the class declaration, but also because the method 'super();' is called at the beginning of the constructor, which sets up and declares anything from the parent/super class(es) that needs to be initialized before it can.

# data[].attributes.headline
What is an event/listener?(#8)-Shoib Saraf

# data[].attributes.subject
What is an event/listener?(#8)-Shoib Saraf

# data[].attributes.body
A listener is something that waits for input and in return it does something. A method can be a listener because when it is called. it runs its code. A mouse click can be a listener.

# data[].attributes.body
Inheritance is when a class extends a parent class and has access to all the methods and variables of the parent class. A class can also extend an interface.

# data[].attributes.body
Response to all - Inheritance can also be between classes and interfaces not just classes.

# data[].attributes.body
A while loop is loop that repeats the code until something stops it. It can be a variable x and when x=0 then the while loop ends.

# data[].attributes.body
Inheritance in java is basically when you have a set of classes that correspond with each other, so that they can build off of each other. These classes share methods and variables.

For example:

Superclass 'animal' is extended by parent class 'cat' which is extended by child class 'catBreed'

# data[].attributes.body
It doesn't just have to be a boolean condition, it can be a variable/different primitive data type.

# data[].attributes.body
A package is basically a collection of classes and interfaces that a programmer can import into their project.
For example a scanner can be imported and implemented by the programmer for user input.

# data[].attributes.body
Could you provide an example of an OOP?

# data[].attributes.body
int[] grades = [90,95,99,98,87,88,76];
int sum = 0;
for(int i = 0; i < grades.length(); i++)
{
sum+=int[i];
}
int average = sum/grades.length();

# data[].attributes.body
Make your example using one of the data types.

# data[].attributes.body
Tony and  Greg can put an example up, it can help others understand it maybe.

# data[].attributes.body
A Java variable is a piece of memory that can contain a data value.
int number;
number = 10;

# data[].attributes.body
An array is a container object that holds a fixed number of values of a single type.

class ArrayDemo {
    public static void main(String[] args) {
        // declares an array of integers
        int[] anArray;

        // allocates memory for 10 integers
        anArray = new int[10];

        // initialize first element
        anArray[0] = 100;
        // initialize second element
        anArray[1] = 200;
        // and so forth
        anArray[2] = 300;
        anArray[3] = 400;
        anArray[4] = 500;
        anArray[5] = 600;
        anArray[6] = 700;
        anArray[7] = 800;
        anArray[8] = 900;
        anArray[9] = 1000;

# data[].attributes.body
An object is something created from a class with states that are defined in the class and behaviors that are shown through methods

# data[].attributes.body
A class is the blueprint for creating objects

# data[].attributes.headline
1.Object Oriented programming Samuel Castrejon

# data[].attributes.subject
1.Object Oriented programming Samuel Castrejon

# data[].attributes.body
Is a programming language model organized around objects rather than "actions" and data rather than logic.

# data[].attributes.body
A method is a set of code that can be called by name and used at any point in the program to make an object or class perform some action

# data[].attributes.headline
Mariah's Response to Question 12 answers

# data[].attributes.subject
Mariah's Response to Question 12 answers

# data[].attributes.body
Lilly: Looks good. Maybe define what abstract means quickly?

Nathaniel: Nice explanation. Maybe explain what it means to "define the general structure" of the class?

Marcin: Good definition. Maybe add an example?

Adam: Good description. Maybe add a specific example to get your point across?

# data[].attributes.headline
Q.7What is an if/else statement? Jorge Marrero

# data[].attributes.subject
Q.7What is an if/else statement? Jorge Marrero

# data[].attributes.body
An if/else statement says that if some condition is true then something happens if its not true then something else happens

# data[].attributes.headline
Q8 - Tim Bargo - What is an event/listener?

# data[].attributes.subject
Q8 - Tim Bargo - What is an event/listener?

# data[].attributes.body
A listener waits to be called, once called it calls the appropriate event.

Example: A button that opens new window. The button is the listener, when activated, the 'open window' event is called, opening the new window.

# data[].attributes.body
Putting an example of a variable in action might help others understand how it works

# data[].attributes.body
These are all good for providing one example, but using different types like Strings and doubles could be more helpful.

# data[].attributes.body
Everyone's answers are right

# data[].attributes.body
Alexander's answer could benefit from an example
Alberto could explain the use of a package

# data[].attributes.body
What do you mean by meat of the code?

# data[].attributes.body
A named piece of memory that can contain a data value. Multiple types of data values are possible including Integer, string, float... etc.
Ex: X = 78;

# data[].attributes.body
I'm not sure if we can say an object is an "extension" of a class

# data[].attributes.headline
3.) What is an array? When would you use it? - Jacob H

# data[].attributes.subject
3.) What is an array? When would you use it? - Jacob H

# data[].attributes.body
An Array is a object that holds a number of values of a single type.
You would use it when you are trying to keep track of multiple values that are similar.

# data[].attributes.headline
1) What does object oriented programming mean? Greg Matos

# data[].attributes.subject
1) What does object oriented programming mean? Greg Matos

# data[].attributes.body
a programming language model organized around objects rather than "actions" (commands/functions) and data rather than logic. Historically, a program has been viewed as a logical procedure that takes inputed data, processes said data , and produces output data.

# data[].attributes.body
a variable is a storage location paired with a symbolic name (an identifier), which contains some known or unknown quantity of information referred to as a value.
(Can be letters or numbers)

# data[].attributes.headline
Q3) What is an array? When would you use it? Greg Matos 

# data[].attributes.subject
Q3) What is an array? When would you use it? Greg Matos 

# data[].attributes.body
a variable is a storage location paired with a symbolic name (an identifier), which contains some known or unknown quantity of information referred to as a value.
(Can be letters or numbers) You can use to keep all variables of the same type together.

# data[].attributes.body
An object is created by a class and holds a value.

# data[].attributes.body
A class is what objects are created from.

# data[].attributes.body
A method stores a chunk of code and can be called to quickly execute this code.

# data[].attributes.headline
4) Object                                                        Joel Reyes

# data[].attributes.subject
4) Object                                                        Joel Reyes

# data[].attributes.body
an object is an extension of a class with its own states and behaviors.

# data[].attributes.headline
5) Class                                                    Joel Reyes

# data[].attributes.subject
5) Class                                                    Joel Reyes

# data[].attributes.body
A class is a template or blueprint that lays out the states and behaviors of its objects

# data[].attributes.headline
6) Method                                                Joel Reyes

# data[].attributes.subject
6) Method                                                Joel Reyes

# data[].attributes.body
a method is an action, behavior, or procedure that is defined by a class and is used by objects from that class

# data[].attributes.headline
7) If/else statement                              Joel Reyes

# data[].attributes.subject
7) If/else statement                              Joel Reyes

# data[].attributes.body
an if/else statement is a conditional statement that will check if something is true and run a specified code if it is found true, if not then it will run the code that is after the else statement.

# data[].attributes.body
An event is a function in computer programming that waits for a user input before it proceeds, while a listener is basically a loop that activates in response to the listener.
For example a button can be pressed acting as an event and the listener can open up some kind of interface for you to interact with.

# data[].attributes.body
An if statement does something if a condition is satisfied, and an else does something else if the condition is not satisfied.

# data[].attributes.body
Inheritance in java is basically when you have a set of classes that correspond with each other, so that they can build off of each other. These classes share methods and variables.

For example:

Superclass 'animal' is extended by parent class 'cat' which is extended by child class 'catBreed'

# data[].attributes.body
In Java, an interface is like a blueprint for a class. You would use it to define the general structure for any class that inherits the interface. Classes can also inherit multiple interfaces.

# data[].attributes.headline
Q3 Whats is array and why would you use it -Alejandro H

# data[].attributes.subject
Q3 Whats is array and why would you use it -Alejandro H

# data[].attributes.body
Array is a set of variables and different value for each variable. You would use an array when you want to do several values for many objects of the same data type

# data[].attributes.body
An object holds a value from a class.

# data[].attributes.body
A class is the group from where objects are made.

# data[].attributes.body
A while loop is a type of loop statement where, like other loop statements, will repeat until the requirements are met. The format for a while loop is as follows;

Formatting example:

while(conditional statement)

{

if the conditional statement is true do ‘this’

Continue doing ‘this’ until the conditional statement is false

}

Real life example:

while(counter<10)

{

counter=counter++;

System.out.println(counter);

}

This will print the counter as it increases by 1 as long as it is smaller than 10, if counter is above 10 to begin with, it will never go through the loop.

# data[].attributes.body
A method is a set of code that can be used in a program.

# data[].attributes.body
A package is basically a collection of classes and interfaces that a programmer can import into their project.
For example a scanner can be imported and implemented by the programmer for user input.

# data[].attributes.body
Response to @Robert Marzec - Alberto Ramirez Response
It is a value compared with a boolean condition to another value. The boolean part of it is <, >, ==, !=
Not necessarily on == true
x > 5 is a boolean condition

# data[].attributes.body
An object is an instance of a class. Objects have properties and behaviors (which are the instance variables and methods).

# data[].attributes.headline
Q7) What is an if/else statement? Abraham Moreno

# data[].attributes.subject
Q7) What is an if/else statement? Abraham Moreno

# data[].attributes.body
An if/else statement is a set of code that can be given multiple options that can happen depending on the output

# data[].attributes.body
A class is a blueprint for its objects. Classes define the properties and methods of its objects.

# data[].attributes.body
A method is the behavior of an object. It can be called in a program with its name. Its declaration includes: modifier, return type, name, parameters, and body.

# data[].attributes.headline
Question7: If/else statement Rafiya Awan

# data[].attributes.subject
Question7: If/else statement Rafiya Awan

# data[].attributes.body
An if/else statement is a conditional. The if statement only executes if a certain condition is met, and the else statement executes if the first one's condition is false.

# data[].attributes.headline
What is an event/listener? - Robert Marzec (#8)

# data[].attributes.subject
What is an event/listener? - Robert Marzec (#8)

# data[].attributes.body
A listener is essentially a loop that waits for a specific input before executing code. For examples, some inputs that can cause an event to happen are a mouse click or key press.

# data[].attributes.headline
What is inheritance? - Robert Marzec (#9)

# data[].attributes.subject
What is inheritance? - Robert Marzec (#9)

# data[].attributes.body
Inheritance is the definition of a class passed on previous similar classes, where the new class would inherit (and also have) the same properties and behaviors as it's parent class, while also adding to the preexisting properties and behaviors.

# data[].attributes.headline
What is a while loop? - Robert Marzec (#10)

# data[].attributes.subject
What is a while loop? - Robert Marzec (#10)

# data[].attributes.body
A while loop is a loop that will continue to execute until a declared boolean condition is deemed to be false.

# data[].attributes.headline
What is a package? - Robert Marzec (#11)

# data[].attributes.subject
What is a package? - Robert Marzec (#11)

# data[].attributes.body
A package is a way to organize a set of files that are all used for one specific class in one place. This allows for the programmer to focus on the design of the task rather than the infrastructure if given a package.

# data[].attributes.body
Maybe be a little more specific, because I'm not sure what you mean by where "classes are made". We can make subclasses of classes, but for what is made from classes, objects are made from the blueprint of classes.

# data[].attributes.body
A listener is like a special loop that waits for something to change for example
start loop
get mouse position
store mouse position in var pos
end loop

# data[].attributes.body
Ben can add an example and explain it more

# data[].attributes.body
Classes make objects, not classes.
Probably a typo. -Filip

# data[].attributes.body
Inheritance is a system which prevents people from needing to do excessive copy pasting for class or object attributes. For example the class Human contains 2 arms 2 legs, etc... the class HumanOne would inherit those things from the parent class human and also add on its own attributes like eye color = blue.

# data[].attributes.headline
Q8:What is an event/listener? - Alberto Ramirez

# data[].attributes.subject
Q8:What is an event/listener? - Alberto Ramirez

# data[].attributes.body
A function that waits for an event to occur. Ex. Clicking something with your mouse or pressing a key.

# data[].attributes.body
A while loop is a loop that repeats itself until the trigger value no longer meets the parameters. For example
while computer power = enabled
internet access = enabled

# data[].attributes.body
A package is exactly like a folder that holds multiple classes together and keeps them organized and working with each other.