The camera mode that gives the photographer the greatest control is manual
Answer:
/ReversedEvenOddString.java
import java.util.Scanner;
public class ReversedEvenOddString {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
String evens = "";
String odds = "";
for(int i = s.length()-1;i>=0;i--){
if(i%2==1){
odds += s.charAt(i);
}
else{
evens += s.charAt(i);
}
}
String res;
if(s.length()%2==1){
res = evens+odds;
}
else{
res = odds+evens;
}
System.out.println(res);
}
}
Answer:
Answer explained below
Explanation:
a. A country has a capital city.------------ aggregation(city is part of country)
b. A dining philosopher uses a fork. ----------- association(philosopher and fork are different entities)
c. A file is an ordinary file or a directory file. ------- generalization( both ordinary and directory files are having attributes of files)
d. Files contain records.--------- aggregation( records are part of File)
e. A polygon is composed of an ordered set of points. ----------- aggregation( points are parts of polygon)
f. A drawing object is text, a geometrical object, or a group. --------- generalization( text and geometrical objects are drawing object)
g. A person uses a computer language on a project. -------- aggregation( person and computer language are part of project)
h. Modems and keyboards are input/output devices. -------- aggregation( Modems and keyboards both are I/O devices)
i. Classes may have several attributes.------- aggregation( attributes are part of classes)
j. A person plays for a team in a certain year. ----------- aggregation(player is part of team)
k. A route connects two cities. --------- aggregation( route consists of two cities)
l. A student takes a course from a professor. ----------- association( student and course are separate entities)
Answer: Malfunctioning of your hypertext program or malfunctions in your hypertext program.
Explanation: Hypertext is text that contains links to other texts. The HyperMedia is a collective term which can include graphics, video, sounds and texts, hence Hypertext.
The Hypertext also be said to be a special type if database system in which objects like Text, pictures, music, programs etc can be linked to each other creatively such that When you select an object, you can see all the other objects that are linked to it and you can move from one object to another regardless of if they have different forms or not. It was invented by Ted Nelson in the 1960s.
According to the question, when you are trying to create a web page for your band and creating links to other groups on your page, you are probably using the hypertext and if you are having problems doing this, then your hypertext linking is malfunctioning.