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
Leni [432]
3 years ago
6

A. True

Computers and Technology
1 answer:
vitfil [10]3 years ago
8 0
The answer would be True.
You might be interested in
You place a new disc in an optical drive, and then double-click the drive in the operating system's file browser interface. An e
lidiya [134]

Answer:

Wait. Then you try it again

Explanation:

You wait and try again later and if this still persists, you may have to check the optical drive from the drive manager peradventure there is an issue there probably a software issue, also you may have to clean the optical drive using the cleaner disc, likewise you may need to test an old disc on the optical drive to be sure the fault is not from the disc you inserted.

7 0
3 years ago
Consider the following code: public static void mystery(int a) { System.out.println("A"); } public static void mystery(double a)
Feliz [49]

Answer:

The output is "A"

Explanation:

public class Solution {

   public static void main(String args[]) {

     mystery(7);

   }    

   public static void mystery(int a) { System.out.println("A"); }    

   public static void mystery(double a) { System.out.println("B"); }    

   public static void mystery(int a, double b) { System.out.println("C"); }    

   public static void mystery(double a, int b) { System.out.println("D"); }

}

In the code above; mystery is defined in four different ways called method overloading. Method overloading is when same method is defined with different parameters.

In the first case; mystery will be called if the argument is int.

In the second case; mystery will be called if the argument is double.

In the third case; mystery will be called if the arguments are int and double.

In the fourth case; mystery will be called if the arguments are double and int.

When mystery(7) is called; the mystery method requiring only int will be called and the output is "A".

3 0
3 years ago
Anyone wanna hop on 1v1.lol<br> party code : usfhb6
hjlf

Answer:

thx for the points

Explanation:

8 0
2 years ago
Read 2 more answers
A database can be used to manage which of the following for a website?
Oliga [24]
Images would probably be the best choice here
7 0
3 years ago
Geraldine's Landscaping Service and Gerard's Lawn Maintenance are merging their businesses and want to merge their customer file
irina [24]

Answer:

Check the explanation

Explanation:

Steps to follow:-

Read file1 or file2

Get number from line of file1

Check numberlist contains this number

if number is not in numberlist then add number to numberlist

Write line of file1 to outputFile

Read file2

Get number from line of file2

Check numberlist contains this number  

if number is not in numberlist then add number ot numberlist

Write line of file2 to outputFile

Repeat the above process untill file line is not null

Complete Java code:-

import java.io.*;

import java.util.*;

public class Solution {

   public static void main(String[] args)

   {

       mergerFiles();

   }

 public static void mergerFiles()

 {

     try {

        FileReader fileReader1 = new FileReader("res/file1");

         BufferedReader bufferedReader1 = new BufferedReader(fileReader1);

         FileReader fileReader2 = new FileReader("res/file2");

         BufferedReader bufferedReader2 = new BufferedReader(fileReader2);

         FileWriter fileWriter = new FileWriter("res/outputfile");

         BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);

         String file1Line=null;

         String file2Line=null;

         Set<String> set=new HashSet();

         while(((file1Line = bufferedReader1.readLine()) != null) || (file2Line = bufferedReader2.readLine())!= null) {

             String number1=file1Line.split(",")[0].split(":")[1];

             if(set.add(number1))

             {

                 bufferedWriter.write(file1Line+"\n");

             }

             if((file2Line = bufferedReader2.readLine())!= null) {

                 String number2 = file2Line.split(",")[0].split(":")[1];

                 if (set.add(number2)) {

                     bufferedWriter.write(file2Line+"\n");

                 }

             }

         }

         bufferedWriter.close();

     } catch (FileNotFoundException e) {

         e.printStackTrace();

     } catch (IOException e) {

         e.printStackTrace();

     }

 }

}

File1 content:-

number:1234567890, lastname: Kumar, address: delhi, property:2000 sqft

number:2234567890, lastname: Chaudhari, address: Pune, property:4000 sqft

number:3234567890, lastname: Singh, address: Mumbai, property:2500 sqft

number:4234567890, lastname: Varma, address: Kolkata, property:5000 sqft

number:5234567890, lastname: Sinha, address: Patna, property:6000 sqft

File2 content:-

number:4234567890, lastname: Ram, address: bangalore, property:25000 sqft

number:6234567890, lastname: Rajput, address: Ranchi, property:40400 sqft

number:3234567890, lastname: Sinha, address: Gurgaon, property:25300 sqft

number:4234567890, lastname: Kaur, address: Chennai, property:50200 sqft

number:8234567890, lastname: Mehta, address: Pondicherry, property:26000 sqft

Output file content:-

number:1234567890, lastname: Kumar, address: delhi, property:2000 sqft

number:4234567890, lastname: Ram, address: bangalore, property:25000 sqft

number:2234567890, lastname: Chaudhari, address: Pune, property:4000 sqft

number:6234567890, lastname: Rajput, address: Ranchi, property:40400 sqft

number:3234567890, lastname: Singh, address: Mumbai, property:2500 sqft

number:5234567890, lastname: Sinha, address: Patna, property:6000 sqft

number:8234567890, lastname: Mehta, address: Pondicherry, property:26000 sqft

3 0
3 years ago
Other questions:
  • You are going to be installing a videoconferencing system. One of the requirements of the system is that only workstations that
    10·1 answer
  • What default length is used for the ospf dead interval?
    14·1 answer
  • Q. Which protocol would best serve to authorize users to access directory services?
    8·1 answer
  • Which app or website teaches java and phyton
    15·1 answer
  • Hi guys, Im making a game. I want to make a collision event, but what is the code for making the wall and the box collide. I rea
    6·1 answer
  • Free 35 points!!!
    11·2 answers
  • Match the image to the view type in a presentation program. scroll bar tool bar status bar menu bar provides an array of buttons
    10·2 answers
  • What is this?
    15·2 answers
  • Imagine that you are a professional white hat hacker, testing a company’s system to make sure they are ready for attacks. What m
    10·1 answer
  • (Synchronized threads) Write a program that launches 1000 threads. Each thread adds a random integer (ranging from 1 to 3, inclu
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!