Answer:
Answered below
Explanation:
Class BaseballPlayer{
//Instance variables
string name;
int hits;
int bats;
//Constructor
BaseballPlayer (string a, int b, int c){
name = a;
hits = b;
bats = c
}
public void printBattingDetails( ){
System.out.print(name, hits, bats)
}
}
//Demo class
Class BaseballTester{
public static void main (String args []){
BaseballPlayer player = new BaseballPlayer("Joe", 8, 4)
player.printBattingDetails( )
}
}
Answer:
standalone computer
Explanation:
If your PC is not connected to a network, it is referred to as a standalone computer.
Hope this helped and have a good day
Answer:
Following are the program in the Python Programming Language.
#set the infinite while loop
while(True):
#get string input from the user
name=input()
#get integer input from the user
num=int(input())
#set the if statement to break the loop
if(num==0):
break
#otherwise, print the following output
else:
print("Eating {} {} a day keeps the doctor away.".format(num, name))
<u>Output</u>:
oranges
5
Eating 5 oranges a day keeps the doctor away.
apple
0
Explanation:
<u>Following are the description of the program</u>:
- Set the loop that iterates at infinite times and inside the loop.
- Declare two variables which are 'name' that get string type input from the user and 'num' that get integer type input from the user.
- Set the if conditional statement for break the infinite while loop.
- Otherwise, it prints the following output.
Answer:
1. Scripts area is the main working area in Scratch.
2. Sensing blocks are color-coded light blue.
3. Adware is a malware which pops up a window, informing the user that the system is infected and asks for a fee to clean it.
4. Amaya is a WYSIWYG.
Answer:
PCIe
Explanation:
If we're talking about video slot the PCI is the most commonly installed in a laptop, but in this case, we have the PCIE or PCI-Express, this was the most common video slot in 2007 and is confused for the PCI-X.
We can increase the bandwidth with this video slot, this slot PCI-X could be 32 times faster than PCI 2.1, with PCIE 1.1 we can transport 250mb/s in each direction.