answersLogoWhite

0

prefix with a """string()""

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is String Str?

Str is probably a String variable declared. Usually when we declare String objects we prefix it with the character str. example: String strName = "";


How do you declare a string and character constant?

public static final String WELCOME_MESSAGE = "Hello, welcome to the server";


How do you declare a pointer to a character string in c?

char *ptr;


Does HTML allow you to declare integer real string and boolean variables?

HTML is not a programming language and as such does not allow you to declare variables.


How do you tell your program you are using a VARIABLE?

You have to declare it. The simplest way to do so is by using the Dim keyword. For example if you want a string variable called someString you would declare it thus: Dim someString as string


What is the difference between array and string of array?

When we declare an array of characters it has to be terminated by the NULL , but termination by NULL in case of string is automatic.


How do you declare a string in a function prototype?

example: size_t strlen (const char *s);


Can you store non primitive data type in the array list?

Yes you can store non primitive data type variables in an array. String is a non primitive data type. You can declare a string array as: String a[]=new String[10];


How do you declare a variable that stores happy new year or other greeting messages in visual basic 2010?

Declare a string variable to store the message value.For example:Dim message As String = "Happy New Year"Console.WriteLine(message)message = "Merry Christmas"Console.WriteLine(message)


What is the code in c plus plus to declare and define a structure keeping records of 10 students?

struct student { std::string id; std::string first_name; std::string last_name; // ... }; student students[10];


How do youdeclare a variable in jsp?

You declare a variable the same in a JSP as you do in a servlet. Let's say you want to declare a String variable called "foo" and you wanted to assign it a value of "bar." You would do this: String foo = "bar"; Of course, in a JSP, any Java code needs to be enclosed within <% and %>.


How do you declare a variable that stores happy new year or other greeting massages in visual basic 2010?

Declare a string variable to store the message value. For example: Dim message As String = "Happy New Year" Console.WriteLine(message) message = "Merry Christmas" Console.WriteLine(message)