Answer:
The output of the given question is :
Person
Person
Explanation:
Following are the description of Statements
- The new Person().printPerson(); calling the function of printPerson() of the class Person so it returns the Person in the console window.
- The new Student().printPerson(); calling the function of printPerson() of the class student .The student inherits the class Person So control will moves to the class it executed the statement inside the Person class So it executed the function public void printPerson() of the Person class so it also returns the Person String and execution of program become stops
D. using cell phones in a work place. when cell phones came out with apps and games people started paying more attention to the social media apps and their games then their own job, hope this helps :)
Answer:
the advantages of database in 5 points are as follows
Explanation:
Data Integrity. Data integrity means data is consistent and accurate in the database. ...
Data Security. Data security is a vital concept in a database. ...
Better data integration. ...
Minimized Data Inconsistency. ...
Faster Data Access. ...
Better decision making. ...
Simplicity. ...
Recovery and Backup.
Answer:
Which of following is not anelectroyte
Answer:
price float(price)
Explanation:
There are four basic type of data type use in the programming to declare the
variable.
1. int: it is used for integer values.
2. float: it is used for decimal values.
3. char: it is used for character values
4. Boolean: it is used for true or false.
in the question, the one option contain the data type float (price float(price)). So, it store the value in decimal.
price int(price): it store the value in integer.
price decimal(price): it is wrong declaration of variable. their is no data type in the programming which name is decimal.
price price(decimal): it is wrong declaration of variable. their is no data type in the programming which name is price.