answersLogoWhite

0

In your main method: // Declare and initialize the array String names[] = {"Ana", "Bertha", "Cecilia", "Dora", "Emily"}; // Print backwards for (int i = names.length - 1; i >= 0; i--) System.out.println(names[i]); If you want to print the individual texts backwards (like "Dora" --> "aroD"), the StringBuffer class offers a method to do precisely that.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How to Sort values in ascending order in java?

// If your values are stored in an array... Arrays.sort(valuesArray); // If they're stored in a List... Collections.sort(valuesList);


A Lists and tables of values can be stored in?

main


How are time values stored in Excel?

Times are stored as decimal fractions representing portions of a day.


How many different values can be stored in 16 bits?

65,536


Why does god model Catholic values?

The question has it backwards. Catholic values model God, since the purpose of life, in Catholic Theology, is oneness with God.


How the values stores in HashMap?

values are stored in a bucket in hashmap, if two objects map to same bucket location by hash function then they are stored as same bucket location but in a form of linked list.


What is a group of Strings called?

A group of Strings is typically referred to as an array or a list. These are standard data structures that allow multiple String values to be stored and manipulated together.


What is the encoding technique called that is used to store negative numbers in the computers?

What is called a two's complement. A computer cannot store negative values (non-positive logical values don't exist in binary logic), so it transforms the value into its "positive complement", which can be stored and acted upon.


How does upholding long accepted human values help in progress of an individual and nation?

When you uphold your values you are not moving backwards. This will help you move forward because you are not compromising your principles.


How many different values can be stored in 1 bit?

0 o 1


Input values for a function is called?

The Input or X values are called the Domain.


What are the possible values of x called in a function?

The allowable values of x are called the "domain", and the resultant set of possible y values are called the "range".