whats string ?

Answer Posted / srinu

String is collection of characters are enclosed with double
quation.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Error, defect,fault, failure and mistake?

747


What is constructor chaining and how is it achieved in java?

662


What is the default value of float and double datatype in java?

622


What does the string method compareto () do?

630


Say you want to store the information about a number of pets in an array. Typical information that you could store for each pet (where relevant) would be • Breed of animal • Animal's name • Its birth date • Its sex • Whether it has been sterilised or not • When it is due for its next inoculation • When it last had its wings clipped For each type of pet (eg. dog, cat or bird) you would typically define a class to hold the relevant data. Note: You do not need to implement these classes. Just answer the following questions. 3.1.1 What would be the advantage of creating a superclass (eg. Pet) and declaring an array of Pet objects over simply using an array of Objects, storing each of the instances of the different pet classes (eg. Dog, Cat or Bird) in it? 3.1.2 Would you define Pet as a class or as an interface? Why? (2) (2)

1446






What is method overloading in JAVA? Why is it not present in C ?

666


Is java a super set of javascript?

703


Can we have a try block without catch block?

658


What does \ mean in regex?

729


Explain the hierarchy of java exception classes?

698


What is the += operator called?

680


What is java used for?

650


What is immutable class in java?

602


Difference between string s= new string (); and string s = "abv";?

842


What is the main use of generics in java?

604