The extends keyword applies to: [Choose all that apply - there may be more than one correct answer] Group of answer choices a member variable a method of the class an expression a class inheriting from another class the overridden toString method

Answers

Answer 1

The extends keyword extends a class (indicates that a class is inherited from another class). In Java, it is possible to inherit attributes and methods from one class to another.


Related Questions

Create a class called payroll. instance variables are the name of the employee, the hours person worked and the hourly rate. make sure to include try-catch for the constructor, getter, setter methods. when creating an object, the name cannot be empty string, hours worked cannot be negative and cannot be greater than 56 hours. the hourly rate cannot be negative. also include a method called raise that increase the employee hourly rate. the raise cannot be negative. must use try catch

Answers

So creating code a class called payroll. and complementing with the information given in the edict, found that it will be:

Writing code in JAVA:

import java.util.Scanner;

public class payroll

{

   String name;

   double salary;

   double da;

   double hra;

   double pf;

   double grossSal;

   double netSal;    

   public Pay(String n, double s) {

       name = n;

       salary = s;

       da = 0;

       hra = 0;

       pf = 0;

       grossSal = 0;

       netSal = 0;

   }    

   void calculate() {

       da = salary * 15.0 / 100;

       hra = salary * 10.0 / 100;

       pf = salary * 12.0 / 100;

       grossSal = salary + da + hra;

       netSal = grossSal - pf;

   }    

   void display() {

       System.out.println("Employee Name: " + name);

       System.out.println("Salary: " + salary);

       System.out.println("Dearness Allowance: " + da);

       System.out.println("House Rent Allowance: " + hra);

       System.out.println("Provident Fund: " + pf);

       System.out.println("Gross Salary: " + grossSal);

       System.out.println("Net Salary: " + netSal);

   }    

   public static void main(String args[]) {

       Scanner in = new Scanner(System.in);

       System.out.print("Enter Employee Name: ");

       String empName = in.nextLine();

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

       double empSal = in.nextDouble();        

      payroll = new Pay(empName, empSal);

       obj.calculate();

       obj.display();

   }

}

See more about JAVA code at brainly.com/question/12975450

#SPJ1

Big Data _______________. Relies on the use of unstructured data imposes a structure on data when it is captured relies on the use of structured data captures data in whatever format it naturally exists

Answers

Answer:

captures data in whatever format it naturally exists

Explanation:

quizletBig Data _______________. Relies on the use of unstructured data imposes a structure on data when it is captured relies on the use of structured data captures data in whatever format it naturally exists

Which type of digital storage stores information primarily on physical computer components in the photographer's possession?
O internal hard drive
O fireproof safe
O cloud storage
O optical storage

Answers

Answer:

Internal Hard Drive

Explanation:

write a letter to your future self :”Imagining a world in 2030”.Be sure to mention things that you think your future self would probably be doing and experiencing in daily life. You may include your hobbies, your surroundings, the role of AI in your life, etc.

Answers

To write a letter to your future self, follow the steps:

Start with an introduction in the first paragraph.The next is what you want your future self to know in the second paragraph.The last is conclusion in the third paragraph.What is a Letter?

A letter is known to be a form of a written message that passes information from a person to another.

Note that by following the steps above, one can be able to  write a letter to your future self.

Learn more  about letter from

https://brainly.com/question/24140747

#SPJ1

What was the name of the program that helped to develop a lot of the technology for the apollo program?.

Answers

Answer:

Gemini Program

Explanation:

In conjunction with the Apollo program the US launched the Gemini program which would develop technology for use on the Apollo spacecraft. Under the Gemini program the Americans learned how to change the orbit of a spacecraft, spent significant time in orbit to learn how the human body would be affected, brought two spacecraft together in a rendezvous in space, and also went on the first space walks outside of a space craft.

Name various input and output devices used with computers.

Answers

Answer:

Input: Keyboard, Mouse, Microphone, Gaming Controller

Output: Monitor, TV, Headphones, Speakers

Explanation:

Input Devices are used to send signals to the computer.

Output Devices use signals from the computer to give you information

What can designers use multimedia authoring tools for?

Answers

Answer:

A. creating and editing video

A company sells computers only over the internet. Customers can decide their own computer configuration at the company's website and then place the order for the computer. This is an example of:

Answers

Answer:

This is an example of business to consumer e commerce

Which data type does not allow duplicate values-python
A dictionary
B set
C tuple
D list

Answers

Answer:

Set

Explanation:

A set is unique in Python. It does not allow duplicates

Select the correct answer.
Which task is a part of the analysis phase of the SDLC?
A.
installation
B.
coding
C.
planning
D.
testing

Answers

Answer: C. planning

Explanation:

The data "10/24/2012" is an example of a ______________ type.

A. string
B. integer
C. boolean
D. float

Answers

Answer:

option B is correct answer

what is the name of the virus that appears to be a legitimate program but when opened, it can steal passwords or destroy data?

Answers

Answer: A Trojan Horse

Explanation: The name is based on the famous legend, where an army was granted access under the guise of being a safe and trustworthy entity.

Which method would you use to get the value associated with a specific key and remove that key-value pair from the dictionary

Answers

We would use the the “pop method” which accepts a key and returns the value associated with that key and removes that key-value pair from the dictionary

Hope this helps!

Select the correct answer.
Leonardo is a student. He is preparing to post his profile on a professional networking website. Which strategy will be most helpful in building
his brand?
OA. talking about his family and friends
OB. mentioning his networking contacts
OC. highlighting his skills and achievements
OD. making remarks about his teachers
OE emphasizing his areas of interest

Answers

Answer:
C. Highlighting his skills and achievements
Explanation:

Complete each sentence.

the first part of step 1 involves clicking___
.

an option for step 3 is___ a rule.

the two options identified in step 12 can both be found in the___group under the home tab.

Answers

The first part of step 1 involves clicking styles, edit, editing. An option for step 3 is edit a rule. The two options identified in step 12 can both be found in the editing group.

What is Editing?

Editing is the act of selecting and making changes, any kind of material.

Note that in the above, The first part of step 1 involves clicking styles, edit, editing. An option for step 3 is edit a rule. The two options identified in step 12 can both be found in the editing group.

Learn more about Computer Applications from

https://brainly.com/question/24264599

#SPJ1

Why is it better to organize information using an array instead of simple variables

Answers

Explanation:

Arrays can hold multiple values. This means that if your array has the values of 'cat', 'dog', 'bird', you can access them easily by stating the location. For example, if I wanted to find 'cat' I would use: arrayName(0) and it would give me 'cat'. This is better than using individual variables because if you have a lot of values, creating variables for each value can be unorganized and very inefficient.

Answer: It reduces the amount of code used in the program.

Explanation:

which type of shape allows you to add text that can be moved around, formatted with styles and effects, or grouped with other objects?

Answers

The shape which allows you to add text that can be moved around, formatted with styles and effects, or grouped with other objects is text box.

What is text box?

Text box is the different shape box in which any text is written on the drawing area.

Text box in painting comes in many shapes as rectangle, rounded rectangle, circle, oval, thinking cloud, etc.

It can be moved around anywhere on the drawing area and formatted with different fonts and sizes.

Thus, text box is the shape allows to add text that can be moved around, formatted with styles and effects, or grouped with other objects.

Learn more about text box.

https://brainly.com/question/13812028?referrer=searchResults

#SPJ1

Write a function called middle(string str) that returns a string containing the middle character in str if the length of str is odd, or the two middle characters if the length is even. Write the main that tests this function.

Answers

Answer:

Note: a) If the length of the string is odd there will be two middle characters.

Explanation:

b) If the length of the string is even there will be one middle character. There was a problem connecting to the server. Please check your connection and try running the trinket again.

2. What is the difference
between a folder and sub
folder

Answers

Answer:

In a computer file system, a subdirectory is a directory that is contained another directory, called a parent directory. A parent directory may have multiple subdirectories. In operating systems with a GUI such as Microsoft Windows, a directory is called a folder, and a subdirectory is called a subfolder.

If a storage pool is configured as if it has more virtual storage than the physical drives actually offer, what feature is being used?.

Answers

The feature being used is thin provisioning.

The range of an area where users can access the Internet via high-frequency radio signals transmitting an Internet signal from a wireless router is known as a _____.

Answers

Answer:

A hot spot

Explanation:

Q:

The range of an area where users can access the Internet via high frequency radio signals transmitting an Internet signal from a wireless router is known as a _____. A) HotspotB) PAN…

A:

A) hotspot Bluetooth is for short distance and pan is Personal area networks (PANs) connect an individual's personal devices

Darshan does a self-assessment of his entrepreneurial mindset. he finds that future orientation is a domain
that he wants to improve. what action should he take to improve this?

Answers

The action should he take to improve this is to spend time alone thinking of new ideas.

What is entrepreneurial mindset?

This is known to be the way of thinking that helps a person to be able to get or attain  their goals. Successful entrepreneurs embrace challenges, mistakes, and failure as opportunities to develop new skill sets to help them succeed in the future.

Note that the action should he take to improve this is to spend time alone thinking of new ideas as it will help him to finds that future orientation is a domain that he wants to improve.

Learn more about entrepreneurial mindset from

https://brainly.com/question/24642830

#SPJ1

PLS HURRY 100 POINTS

Complete the sentence about information censorship.
Many dictatorial governments only permit .____

1. GOVERNMENT SEARCH ENGINES
2. INDEPENDENT MEDIA
3. VIRTUAL PRIVATE MEETINGS

Answers

The correct option is A that many dictatorial governments only permit GOVERNMENT SEARCH ENGINES.

What do you mean by Government Search Engines?

The main website that is developed by the government in order do their work is  Search.gov. This search engine currently support over 300 millions search queries.

These type of search engines are helpful for provide the service that are covered under the Jurisdiction Indian Government. Most of pages are automatically redirect us to these engines.

On the other hand, dictatorial is defined as the type of government under which one or more person possesses the power.

At last, search engines are used to find specialized data rapidly whereas web directory is used to find a list of different sites.

Therefore, correct option is A.

Learn more about Search engines, refer to the link:

https://brainly.com/question/27509068

#SPJ2

Answer:GOVERNMENT SEARCH ENGINES.

Explanation:

How to solve level 53 on rapid router?

Answers

<img src=/static/game/image/actions/go.svg alt=' + ugettext(play= button)= += '= style=width: 4%;> ) def noPermissionMessage():

Wen is a network engineer. He would like to isolate several systems belonging to the product development group from other systems on the network, without adding new hardware. What technology is best to use

Answers

Answer:

Virtual LAN (VLAN)

Explanation:

If you have two folders open on your desktop and you want to move a file from one folder to the other, simply ________ the file

Answers

Answer:

copy

Explanation:

In what higher-order function do you apply a predicate to each value within a list, and if the predicate returns true, the value is added to an object

Answers

Answer:

Returning function

Explanation:

As functions are objects, we can also return a function from another function. In the below example, the create_adder function returns adder function.

Part B Identify the Boolean data type in the database and explain why it is a Boolean field.​

Answers

Answer:

Talent Show Registration

Explanation:

Boolean is True or False so the only one that is true or false is Talent Show Registration as there is Yes and No

API defines ____ for applications written in a procedural programming language and _____ for applications in object-oriented languages.

Answers

API defines procedure calls for applications written in a procedural programming language and classes for applications in object-oriented languages.

What is API?

API is known to be the short form of  Application Programming Interface. This is known to be a software that acts as an intermediary.

Note that it helps two applications to communicate to one other and as such, API state out procedure calls for applications written in a procedural programming language and classes for applications in object-oriented languages.

Learn more about API from

https://brainly.com/question/12987441

#SPJ1

briefly explain the emerging trends in micro computer technology according to size

Answers

Answer:

Emerging trends in IT include big data analytics, virtual and augmented reality, 5G, and the internet of things. Computer science workers can learn about computer science current events and new technologies by joining a professional organization.Mar 3, 2022

Other Questions
What was a result of the Fugitive Slave Act?Northerners mostly supported the new law to help reduce sectionalism.Tensions increased between the North and the South.Congress abolished slavery in the District of Columbia. Given that tangent squared theta = three-eighths, what is the value of secant theta? Plus-or-minus StartRoot eight-thirds EndFraction Plus-or-minus StartRoot eleven-eighths EndFraction Eleven-eighths Eight-thirds If you were creating a PSA about building a green roof, which sources would be reliable for researching the topic? Check all that apply. a .gov or .org website on green roofs an article from a government organization on how green roofs improve air quality a blog about how green roofs are a fun activity for community gardeners newspaper articles reporting on how green roofs absorb heat in cities a .net or .com website that shows a companys opinion on sprinklers to install on green roofs List the top four basic needs that you think must be met during a prolonged emergency when normal activities are severely affected? Find any 5 rational numbers between (a) -1 and 1 (b) - [tex]\frac{4}{3}[/tex] and [tex]\frac{3}{2}[/tex] PLEASE HELP ASAP!! ILL MAKE YOU THE BRAINIEST TRAP~EZYD use the diagram on the right to find the scale factor of TRAP to EZYD Please help!!!!!!For the target below an archer randomly shoots an arrow which hits the target, what is the theoretical probability the arrow will hit the small square on the upper left? Assume all squares are the same size. Round to the nearest tenth of a percent.A. 9.8%B. 2.5%C: 1.0% Pre-algebraPls help- Place can be ____________a.a description of what it is like there.b.the human changes.c.the landforms (rivers, mountains, etc.).d.all of the above. An object has a velocity of 8 m/s and a kinetic energy of 480 J. What is the mass of the object? (Formula: ) 7. 5 kg 15 kg 60 kg 120 kg. An argument is a specific type of informational text in which an author asserts a position on a topic (claim) and then supports that position with facts, reasons, and evidence.Question 10 options: True False HELP PLEASE!!!!A ramp is being used to unload the back of a truck. The bottom of the ramp is 12 feet from the truck and the top of the ramp is lying on the back of the truck. If the back of the truck is 5 feet high, how long is the ramp?14 ft13 ft7 ft17 ft What is one way that tourists damage coral reefs? They practice dynamite fishing. They use cyanide in their fishing practices. They touch the coral or take pieces of it. They add fertilizer to the water. How can you use a table to determine whether the relationship between two quantities isproportional Famous (and not so famous) Mathematicians Escape Room(Slide 3)Can someone put the events in the correct order pls(when they are in the correct order the letters in the corner form a CODE not a WORD so dont look for that)I WILL GIVE BRAINLIEST CitizenshipAs a 5C what does citizenship mean? Why is it important? How important is it in class, relationships, work, life? Why? Explain your answers. The great plains is located between which two mountain ranges Hellopls pls help me I need a story with the words in the photo pls pls helpI will give brainliest pls help Which term describes people who experience extreme emotions that make it difficult to function well in their daily lives? Technology and the Changing Earth: TutorialWhich region of the country is most in need of storm spiders and their radar technology? Please help me out guys