front 1 a computer programming model that organizes software design around
data, or objects, rather | back 1 OBJECT - ORIENTED PROGRAMING |
front 2 It is a way of thinking about and structuring a program's functionality. | back 2 PROGRAMMING PARADIGM |
front 3 What are the most common programming paradigm today? | back 3 OOP PROCEDURAL PROGRAMMING FUNCTIONAL PROGRAMMING |
front 4 These are user-defined data types that act as the blueprint for
individual objects, attributes and | back 4 CLASSES |
front 5 These are functions that are defined inside a class that describe the behaviors of an object. | back 5 METHODS |
front 6 are defined in the class template and represent the state of an
object. Objects will have data | back 6 ATTRIBUTES |
front 7 The additional benefits of OOP | back 7 SCALABILITY, CODE REUSABILITY, AND EFFICIENCY |
front 8 The first step in OOP is to collect all of the objects a programmer
wants to manipulate and | back 8 DATA MODELLING |
front 9 information is represented as classes that describe the concepts of
the problem | back 9 OOP |
front 10 the structure of the program is formed by functionality | back 10 PROCEDURAL PROGRAMMMING |
front 11 uses immutable data to tell the program exactly what | back 11 FUNCTIONAL PROGRAMMING |
front 12 this is where the state of an object can, in principle, change with any object method, and that change of state can also affect the working of the methods of other objects. | back 12 OOP |
front 13 This is where the state of the program is maintained in variables and tables, and any methods handle only the values provided to them as parameters. | back 13 PROCEDURAL PROGRAMMING |
front 14 aims to hide complexity from users and show them only relevant information. | back 14 ABSTRACTION |
front 15 helps with data security, allowing you to protect the data stored in
a class from system-wide access. As the name suggests, it safeguards
the internal contents of a class like a | back 15 ENCAPSULATION |
front 16 makes it possible to create a child class that inherits the fields
and methods of the parent class. The child class can override the
values and methods of the parent class, but it’s not | back 16 INHERITANCE |
front 17 Parent classes are also called... | back 17 SUPERCLASS |
front 18 Child classes are known... | back 18 SUBCLASS |
front 19 refers to the ability to perform a certain action in different ways. | back 19 POLYMORPHISM |
front 20 it happens when various methods with the same name are present in a class. | back 20 METHOD OVERLOADING |
front 21 occurs when a child class overrides a method of its parent. | back 21 METHOD OVERRIDING |
front 22 means the act of establishing a relationship between two unrelated classes. | back 22 ASSOCIATION |
front 23 s a narrower kind of association. It occurs when there’s a one-way (HAS-A) relationship between the two classes we associate through their objects | back 23 AGGREGATION |
front 24 a stricter form of aggregation. It occurs when the two classes you associate are mutually dependent and can’t exist without each other. | back 24 COMPOSITION |
front 25 a standardized modeling language consisting of an integrated set of diagrams, developed to help system and software developers for specifying, visualizing, constructing, and documenting the artifacts of software systems, as well as for business modeling and other non-software systems. | back 25 Unified Modeling Language (UML) |
front 26 how to instantiate an object? | back 26 className ObjName = new className (); |
front 27 what keyword to use in order to prevent a class attribute from being overridden | back 27 final keyword |
front 28 We can create our own method based on our | back 28 User-defined Methods |
front 29 These are built-in methods in Java that are available | back 29 Standard Library Methods |
front 30 It defines access types whether the method is public, private, and so on. | back 30 MODIFIER |
front 31 We use this word so it can be accessed without creating objects | back 31 static |
front 32 These are values passed to a method. We can pass any | back 32 parameters |
front 33 - It specifies what type of value a method returns. For example if a method has an int return type then it returns an integer value | back 33 returnType |
front 34 - It is an identifier that is used to refer to the particular method in a program. | back 34 methodName |
front 35 - It includes the programming statements that are used to perform some tasks. The method body is enclosed inside the curly braces { }. | back 35 methodBody |
front 36 how to create method? | back 36 publicvoid sing () { System.out.println("lalalaalalala"); } |
front 37 used to get the value of a private field | back 37 Accessors/getter |
front 38 used to set the value of a private | back 38 Mutators/setter |
front 39 how to implement getter ? | back 39 public String getName() { return name; } |
front 40 how to implement setter? | back 40 public void setName (String newName) { this.name = newName; } |
front 41 It just signals to the compiler that it is the field named number that is being referred to. | back 41 this. |
front 42 what keyword use when implementing inheritance? | back 42 extends |
front 43 used to call the method of the parent class from the method of the child class. The method of the parent class will be called using this keyword. | back 43 super |
front 44 type of inheritance that extends from a single superclass. | back 44 single inheritance |
front 45 type of inheritance extends from a superclass and then the same subclass acts as a superclass for another class. | back 45 multi-level inheritance |
front 46 type of inheritance where multiple subclasses extend from a single superclass | back 46 hierarchical inheritance |
front 47 type of inheritance a single subclass extends from multiple superclasses. | back 47 multiple inheritance |
front 48 a combination of hierarchical and multiple inheritance, | back 48 hybrid inheritance |
front 49 An abstract method is a method without a | back 49 abstract |
front 50 A variable is called __________ if it refers to different values under different conditions. | back 50 polymorphic |
front 51 what keyword to create an interface in Java. | back 51 interface |
front 52 We use the __________ keyword to | back 52 implements |
front 53 what do we called this method where we can now add methods with implementation inside an interface | back 53 default method |