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
Ksivusya [100]
3 years ago
11

What is wrong with the following declaration? How should it be fixed?

Computers and Technology
1 answer:
GalinKa [24]3 years ago
6 0

Answer:

We have used int datatype which is wrong in the given declaration.

The correct declaration is public static final double myNumber = 17.36;

Explanation:

In this declaration the value is stored in "myNumber" variable is 17.36 which is decimal point number to store the decimal point number we have to use the double datatype, not int datatype because int datatype can store only integer value not the decimal value. So we have to use the double datatype instead of int type.

The correct syntax for the following declaration is :

public static final double myNumber = 17.36;

You might be interested in
Using data from the BITS database, define a view named TopLevelClient. It consists of the number, name, address, balance, and cr
LiRa [457]

Answer:

Check the explanation

Explanation:

a) Consider the following SQL query to create a view TopLevelCust

Query: Create View TopLevelCust AS Select CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, Creditlimit From Customer Where Creditlimit P= 10000,  

  • In order to create a view for TopLevelCust, it is required to replace viewname with TopLevelCust
  • select Clause is used to retrieve stored records from the table o CustomerNum, CustomerName, Street, City, State, PostalCode, Balance and Creditlimit are the attribute name
  • from clause specifies one or more table from where records. be retrieved o Customer is the table name
  • where clause is used in SQL query to retrieve only those records that satisfy the specified condition
  • CreditlLimit>=10000 is the specified condition to retrieve the information from table.
6 0
4 years ago
Zadanie nr 1
Gennadij [26K]

Answer:

Explanation:

Rezonans, Obiekt bez wibracji ma tendencję do robienia tego z określoną częstotliwością zwaną naturalną lub rezonansową częstotliwością obiektu. (Ta częstotliwość zależy od wielkości, kształtu i składu przedmiotu). Taki przedmiot będzie silnie wibrował, gdy zostanie poddany wibracjom lub regularnym impulsom o częstotliwości równej lub bardzo zbliżonej do swojej częstotliwości naturalnej. Zjawisko to nazywa się rezonansem. Dzięki rezonansowi stosunkowo słaba wibracja w jednym obiekcie może powodować silne wibracje w innym. Analogicznie termin rezonans jest również używany do opisania zjawiska, w którym oscylujący prąd elektryczny jest wzmacniany sygnałem elektrycznym o określonej częstotliwości.

Przykład rezonansu zapewnia silnik, który powoduje wibracje mebla w innej części tego samego domu. Drgania te występują, ponieważ częstotliwość naturalna mebli jest równa częstotliwości drgań ustawianych przez silnik. Mówi się, że meble rezonują z silnikiem. Rezonans można również zaobserwować w samochodzie, gdy pewna popielniczka Partan, na przykład wibruje, gdy samochód jedzie z określoną prędkością. Popielniczka rezonuje z wibracjami silnika przy tej prędkości.

Rezonans mechaniczny może wytwarzać wibracje wystarczająco silne, aby zniszczyć obiekt, w którym występują. Na przykład żołnierze maszerujący nad mostem mogą wytwarzać ekstremalne wibracje z częstotliwością naturalną mostu i roztrzaskiwać go na części. Z tego powodu żołnierze przebijają się, by przejść przez most. W 1940 r. Podmuchy wiatru w Puget Sound Narrows w Tacoma w stanie Waszyngton spowodowały, że most wiszący wibruje z naturalną częstotliwością i most zawalił się.

W muzyce rezonans służy do zwiększenia intensywności (głośności) dźwięku. Na przykład stosunkowo słabe wibracje wytwarzane na końcu rurki organowej powodują, że kolumna powietrza w rurze wibruje w rezonansie, znacznie zwiększając głośność dźwięku. Zasada ta dotyczy także głosu ludzkiego, w którym wibracje strun głosowych są wzmacniane przez wibracje rezonansowe w kanałach ustnych i nosowych.

Rezonans elektryczny służy do strojenia radiotelefonów i telewizorów. Strojenie polega na ustanowieniu obwodu o częstotliwości rezonansowej równej przydzielonej częstotliwości żądanej stacji.

6 0
3 years ago
.Why is DNS important?
umka2103 [35]

Answer:

 DNS stand for the domain name system and it is used to convert the IP address into the readable system. It basically used to store the data and link with the domain name and the IP address when it is requested.

DNS are important because there is no requirement of memorizing the IP address of huge number of websites and host computer. We only need to remember the domain name of that particular website as it save the IP address of all the particular websites.

In network architecture, the domain name system is very essential and important part.  

8 0
3 years ago
Which service uses a broadband connection?
Sidana [21]

Answer:

d

Explanation:

because all in one question form

5 0
3 years ago
How to create database using access​
timurjin [86]

i think by using python

6 0
3 years ago
Other questions:
  • When you right-click a spreadsheet object, what command should you select to activate the sheet?
    6·2 answers
  • List two reasons why buying a computer is no easy task?
    7·1 answer
  • How to attach a picture on brainily?
    8·1 answer
  • Given a String variable named line1, write a sequence of statements that use a Scanner to read the first line of a file named "p
    7·1 answer
  • Josephine is in the process of creating ads within her Standard Display campaign. She finds that there are two main ad formats t
    15·1 answer
  • Which of the following was (and still is) used by computer programmers as a first test program?
    13·2 answers
  • The question of ________ arises when considering the way in which online marketers gather consumers’ information over the Intern
    6·1 answer
  • Interface elements include but are not limited to:
    8·1 answer
  • Will mark Brainliest!! What is the best hard disk compacity? Why?
    7·1 answer
  • Which computer application is an example of a DBMS?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!