Answer:
C) Highly portable
Explanation:
This means they can run on any computer or platform that supports Java without the need for recompillation.
This idea is popularly called WORA that is Write Once Run Anywhere.
Software Applications written in Java are compiled to bytcode (.class) which are intended to run on the Java Virtual Machine (JVM) irrespective of the architecture of the computer or device.
Answer:
A basic guideline plan to help me track my behavior consist of the following:
How much time do I use each element?
Have I experienced anxiety after using them?
Have I experienced anxiety while using them?
Have I changed my day to day routine by using them?
Explanation:
The reasons to back my answer are the following. First of all, dependency can be measured in time spent and anxiety developed after the use of the element. Thus, we need to explore if the source of media has originated anxiety while using it or after using t to spot if we are suffering an addictive pattern. Also, generally addictive elements create anxiety while using it and it increases after stop using them. Therefore, if we find that we have experienced both types of anxiety we are in an addictive cycle.
Answer:
Following are the program in the Python Programming Language.
#set variable for input year by user
y=int(input("Enter year: "))
#set variable and initialize to 0
flag=0
#check condition that year is divisible by 4
if(y%4==0):
#check that the year is divisible by 100
if(y%100==0):
#check that the year is divisible by 400
if(y%400 ==0):
#then initialized flag to 1
flag=1
else:
#otherwise remain 0
flag = 0
else:
flag = 1
else:
flag = 0
#for break line
print()
#check that if flag is equal to 1
if(flag==1):
print("29 days in February")
#otherwise else
else:
print("28 days in February")
<u>Output</u>:
Enter year: 2020
29 days in February
Explanation:
<u>Following are the description of the program</u>:
- Set variable 'y' in which we get integer value as year from the user.
- Set variable 'flag' and initialize that variable to 0.
- Then, we set if-else conditional statements to check that the variable 'y' is divisible by 4 then, we check that the variable 'y' is divisible by 100 and we also check that the following variable is divisible by 400.
- Finally, we set if-else conditional statement to check that the variable 'flag' is equal to 1 then print about the leap year, otherwise it print about the non-leap year.
Answer:
public Balloon(){
//Invokes the 2 argument constructor for balloon with relevant
//parameters
this(10,new Color(135,206,250));
}
Explanation:
class Balloon{
//Private fields in the Balloon class
private double radius = 0;
private Color c = null;
// Constructor with two arguments - radius and Color
public Balloon(double radius,Color c){
this.radius = radius;
this.c = c;
}
// No argument constructor
public Balloon(){
//Invokes the 2 argument constructor for balloon with relevant
//parameters
this(10,new Color(135,206,250));
}
}
The Scroll Lock key - Most of the time on the keyboard it is abbreviated ScrLK, or Scroll Lock.