That is something you should may research on with yourself! Don’t accept a link
From strangers it’s preferred to find one that best suits you!
x = input("Enter a word: ")
y = input("Enter a word: ")
x,y = y, x
print(x)
print(y)
I hope this helps
Answer:
C
Explanation:
see the image on this web site as example: https://www.digitaltrends.com/photography/what-does-this-do-an-explanation-of-dslr-buttons/
Answer:
Algorithm:
1. Declare and initialize variable one_dog_year=7.
2.Ask user to give dog age.
2.1 Read the dog age and assign it to variable "dog_age".
3.Create a variable "human_age" to store the equivalent human age.
3.1 Calculate equivalent human age as "human_age=one_dog_year*dog_age".
4.Print the equivalent human age of dog age.
7. End the program.
// here is algorithm implemented in c++
#include <bits/stdc++.h>
using namespace std;
int main()
{
// initialize one dog year
int one_dog_year=7;
int dog_age;
int equi_h_age;
cout<<"Enter the dog age:";
// read the dog age
cin>>dog_age;
//calculate the equivalent human age
equi_h_age=dog_age*one_dog_year;
cout<<"equivalent human age is : "<<equi_h_age<<endl;
return 0;
}
Output:
Enter the dog age:2
equivalent human age is : 14
COMPLETE QUESTION:
Which of the following statements is false?
A) A constructor is similar to a method but is called implicitly by the new operator to initialize an object's instance variables at the time the object is created.
B0 Scanner method next reads characters until any white-space character is encountered, then returns the characters as a String.
C)A class instance creation expression begins with keyword new and creates a new object.
D) To call a method of an object, follow the object name with a comma, the method name and a set of parentheses containing the method's arguments.
Answer:
D) To call a method of an object, follow the object name with a comma, the method name and a set of parentheses containing the method's arguments.
Explanation:
To call a method, the name of the object is not followed by a comma (,) but with a dot (.) operator, the method's name and a set of parentheses containing the method's arguments, then follows.