Answer:
public static boolean isPalindrome(String word) {
//TODO: Complete this method
String reverse = "";
for (int i = (word.length()-1); i>=0; i--) {
if(word.charAt(i)!=' '){
reverse+=word.charAt(i);
}
}
String without_space = word.replaceAll(" ", "");
return reverse.equals(without_space);
}
Answer:
The answer is "Format dialog box".
Explanation:
The Format dialog box is part of the Microsoft PowerPoint. This format box is used to modify elements like background color, line style, width, and location of the text box and shapes. and other options are not correct that can be defined as:
- The fill option is used to fill color in shapes, draw a design, etc.
- Shape and style gallery option provides shapes that are used for writing only.
- Format Painter option used in word and PowerPoint both and copy all formatting and paste in another object.
I am not sure but i would think that it would be the right preceding ???
Answer:
public class GetInfo{
Beverage[] beverages=new Beverage[100];
int i=0;
GetInfo(Beverage b){
beverages[i]=b;
i++;
}
public void Display(){
for(int i=0;i<beverages.length;i++)
cout<<beverage[i].tostring();
}
Explanation:
we are taking Beverages array to store all values and in constructor we are adding that to the list and Display() function prints the vale
in your notes books and in your vopy