1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
IRISSAK [1]
4 years ago
6

Which statement is false? Classes are reusable software components. A class is to an object as a blueprint is to a house. Perfor

ming a task in a program requires a method. A class is an instance of its object.
Computers and Technology
1 answer:
Korolek [52]4 years ago
4 0

Answer:

The last option i.e "A class is an instance of its object" is the correct answer of this question.

Explanation:

A class is a collection of variable and method . The class is the blueprint of the object that means class is physical space entity and object is a runtime space entity.It is the the reusability feature of the programming component.

Following are the  syntax to declare any class.

                     Class classname

<u>For Example</u>: class test1

With the help of class we can achieve the inheritance, encapsulation and abstraction etc.

All the other options except the last one are correct option. Because option(1), option(2) and option(3) follow the property of class and object .  that's why last option is False.

You might be interested in
The network layer of the Internet model uses the _____________ protocol to route messages though the network.
RUDIKE [14]

Answer:

Capa de Internet. La capa de Internet, también conocida como capa de red o capa IP, acepta y transfiere paquetes para la red. Esta capa incluye el potente Protocolo de Internet (IP), el protocolo de resolución de direcciones (ARP) y el protocolo de mensajes de control de Internet (ICMP).

Explanation:

3 0
3 years ago
When you register to take classes, the registrar office pulls up a file full of
anzhelika [568]

Answer:

Database

Explanation:

Database software is intended to develop databases and to maintain, alter, access, and obtain useful data stored within them. It is often used to store, manage, and organize information such as field names, documents, and file structures in a database. it helps users to create their own databases to meet their business specifications and requirements. It provides data flexibility, as the storage process and formats can be modified without changing the entire program inside the database.

6 0
3 years ago
Patricia is leading an online group of students from many
Burka [1]

Answer:

<h3><em>Patrica</em><em> </em><em>will</em><em> </em><em>come</em><em> </em><em>to</em><em> </em><em>know</em><em> </em><em>about</em><em> </em><em>many</em><em> </em><em>cultures</em><em> </em><em>and</em><em> </em><em>traditions</em><em>.</em><em>The</em><em>s</em><em>e</em><em> </em><em>learnings</em><em> </em><em>will</em><em> </em><em>encourage</em><em> </em><em>her</em><em> </em><em>and</em><em> </em><em>can</em><em> </em><em>impact</em><em> </em><em>on</em><em> </em><em>her</em><em> </em><em>Carrier</em><em>.</em><em>She</em><em> </em><em>will</em><em> </em><em>also</em><em> </em><em>come</em><em> </em><em>to</em><em> </em><em>know</em><em> </em><em>about</em><em> </em><em>various</em><em> </em><em>languages</em><em> </em><em>and</em><em> </em><em>it</em><em> </em><em>can</em><em> </em><em>also</em><em> </em><em>leads</em><em> </em></h3><h3><em>to</em><em> </em><em>globalization</em><em> </em><em>of</em><em> </em><em>thoughts</em><em>.</em></h3>
4 0
3 years ago
Read 2 more answers
25 Points!
neonofarm [45]

Answer:

I believe the answer is D. var = var + 1

Explanation:

5 0
3 years ago
Use the web to learn how to use the LocalDate Boolean methods isBefore(), isAfter(), and equals(). Use your knowledge to write a
Brrunno [24]

Answer:

Explanation:

The code provided is already taking in the input and comparing it to the current date using the methods isBefore(), isAfter(), and equals(). It works perfectly and did not need any changes to the code. As you can see from the attached pictures below, every scenario works as intended. If the format is not correct and the date object is not able to be created then it prompts an error message and exits the program as intended.

import java.util.*;

import java.time.LocalDate;

class PastPresentFuture2

{

   public static void main(String args[])

   {

       int mo,da,yr;

       LocalDate today=LocalDate.now();

       System.out.println("Program to find if the given date is in past, present or future::");

       Scanner input=new Scanner(System.in);

//taking inputs from console and storing them in three variables.

       System.out.print("Enter month::");

       mo=input.nextInt();

       System.out.print("Enter day::");

       da=input.nextInt();

       System.out.print("Enter year::");

       yr=input.nextInt();

//creating a LocalDate object and initializing it to null;

       LocalDate inputDate=null;

       try

       {

           /*we are using the 3 variables and converting it into a date object to compare it with today's date */

           inputDate = LocalDate.of(yr,mo,da);

       }

       catch(Exception ex)

       {

           /*if the entered day,month & year are not converted to a date object because of invalid entry of any values, we are stopping the program.*/

           System.out.println("You have made invalid entries, please try again !!");

           System.exit(0);

       }

       /*if the date object is created after proper entries, we are using the built-in functions to compare it the today's date object*/

       System.out.print("The date you entered is ");

       if(inputDate.isBefore(today))

           System.out.println("in the past.");

       else

       if(inputDate.isAfter(today))

           System.out.println("in the future.");

       else

       if(inputDate.equals(today))

           System.out.println("the current date.");

   }

}

3 0
3 years ago
Other questions:
  • To construct a battery with a current of 6 A, you would connect six 1 A cells
    6·2 answers
  • Which of the following need NOT be completed separately if a worksheet is prepared?
    6·1 answer
  • Which structure is the following true for? For _________, arguments are substituted exactly as entered, without checking for mem
    6·1 answer
  • Which of the following is a step in paraphrasing?
    14·2 answers
  • Considering the traffic problem, do you think Rod handled the situation well?
    15·1 answer
  • What is the term given to the controls that let you interact with an operating system?
    11·1 answer
  • When working in Photoshop with the move tool, you can select multiple layers and use this option to arrange them into a straight
    7·2 answers
  • Help a fellow coder and anser these 5 questions
    15·1 answer
  • Why is brainly so addictinggggggggg!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    14·1 answer
  • Hi. I'm a beginner in python. Can anyone tell me what I'm missing or doing wrong, because I can't figure out why my messages in
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!