answersLogoWhite

0

twist it and weave it

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What are the two ways strings can be combined to create a new string?

Concat()


How do you create a string reference?

String strReference = new String();


How can we combine or merge two deterministic finite automata (DFAs) to create a new DFA that represents the union of the two original DFAs?

To combine two deterministic finite automata (DFAs) to create a new DFA representing their union, you can merge the two DFAs by adding a new start state connected to the original start states of the two DFAs with epsilon transitions. This new DFA will accept a string if either of the original DFAs would accept that string.


What does the java new operator do?

The new keyword tells Java that you want to create a new instance of a class by invoking one of the constructors for that class.// Create a new, empty String objectString s1 = new String();// Create a new String object with a different constructorString s2 = new String("howdy");


Write a program in java show how different string Class construcotrs are used to create string objects?

public class Test { public static void main(String[] args){ String str = new String("Rocky"); String str1 = "Rocky"; StringBuffer sb = new StringBuffer(); sb.append("Rocky"); String str2 = new String(sb); } } Above are three commonly used ways of creating Strings. Apart from you you can also pass byte arrays and character arrays as arguments to the String constructor


What happens to atoms when they combine to form new substances?

create a new atom :D


How can a stack determine if a string is a palindrome?

foreach char in string push on to stack create new string foreach char in string pop off and add to end of new string if new string equals old string palindrome else not palindrome //when you pop off the stack, the characters come off in reverse order, thus you have reversed the original string


what was something surrealist artists trying to do?

Combine familiar objects in unfamiliar ways to give them new meaning


which of these was something surreal artist was trying to do?

answer: Combine familiar objects in unfamiliar ways to give them new meaning


Are strings immutable in C?

Yes, strings are immutable in C. This means that once a string is created, its contents cannot be changed. If you need to modify a string, you would need to create a new string with the desired changes.


What is purpose of keyword new?

The keyword new is used to instantiate or create Java class objects. ex: String empName = new String("Rocky"); The above statement creates a new String object of name empName and value as Rocky


How can you initialize an array in Java?

If you refering to Object then String[] something=new String[2]; Here you have to remember that something only allocated space for 2 String object but it did not created them yet. By default Objects are intantiated to null so if you try to print the content of an array System.out.println(something[0]);//print null System.out.println(something[0].toLowerCase()); Throws NullPointerException Couple other ways to create Arrays In java String[] something=new String[]{"Me","You"}; String[] something={"Me", "You"};