1 String str = Java String to String Array Example; /*. * 2  To convert String object to String array, first thing. * 3  we need to consider is to how we want to create array. *. * 4  In this example, array will be created by words contained. *  in the original String object.
A molecule is a group of two or more atoms bonded together, while a compound is a group of two or more atoms bonded together where the atoms are from at least two types of elements. All compounds are also molecules, but all molecules are not compounds.
Note that a compound: 1  consists of atoms of two or more different elements bound together, 2  can be broken down into a simpler type of matter (elements) by chemical means (but not by physical means), 3  has properties that are different from its component elements, and.4  always contains the same ratio of its component atoms. molecule consists of two or more atoms of the same element, or different elements, that are chemically bound together. Note that the two nitrogen atoms which comprise a nitrogen molecule move as a unit.