Comment

sandeep
strings,
January 2, 2008 at 9:51 PM

what problem we would have faced,if string class object had not been immutable.
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Interview Questions

STRINGS - Java Interview Questions
STRINGS  1.Why string objects are immutable? 2.why java is pass by value?  Hi Friend, 1) To save memory, java can refer two string.... 2) In Java,when you call a method,a copy of the value of each actual 

Servlet Interview Questions

java - Servlet Interview Questions
java  servlet interview questions  Hi friend, For Servlet interview Questions visit to : http://www.roseindia.net/interviewquestions/servlet/ Thanks 

Java Interview Questions

hint - Java Interview Questions
hint  Dear roseindia, i want the java interview question... the following link: http://roseindia.net/interviewquestions/ Here you will get lot of interview questions and their answers. Thanks  thanks for your 

Java Interview Questions

java - Java Interview Questions
java  i want to java&j2ee interview questions. Regards Akhilesh Kumar  Hi friend, I am sending you a link. This link will help you. Read for more information. http://www.roseindia.net/interviewquestions 

Java Interview Questions

interview question - Java Interview Questions
interview question  hello i want technical interview question in current year   Hi Friend, Please visit the following links: http://www.roseindia.net/interviewquestions/ http://www.roseindia.net 

JSP Interview Questions

java - JSP-Interview Questions
java  hi.. snd some JSP interview Q&A and i wnt the JNI(Java Native Interface) concepts matrial thanks krishna  Hi friend, Read more information. http://www.roseindia.net/interviewquestions/jsp-interview 

Servlet Interview Questions

interview question - Servlet Interview Questions
interview question  What is Servlet? Need interview questions on Java Servlet  Servlet is one of the Java technologies which is used... according to your experience.And for collection of Java Servlet Interview Question you 

Java Interview Questions

java - Java Interview Questions
Helpful Java Interview questions   Need Helpful Java Interview questions 

Java Interview Questions

Interview Question - Java Interview Questions
Interview Question  I need Interview Questions on Java,J2EE Pls help me 

Java Interview Questions

Struts - Java Interview Questions
Struts Interview Questions  I need Java Struts Interview Questions and examples 

General

Collection of Large Number of Java Interview Questions!
Interview Questions - Large Number of Java Interview Questions Here you.... The Core Java Interview Questions More interview questions on core Java.. Read 

Java Interview Questions

Java - Java Interview Questions
Java  Questions on Java 

Java Interview Questions

jvm - Java Interview Questions
jvm  Can you provide some JVM Questions for Java Interview preparation 

Java Beginners

core java - Java Beginners
Core Java interview Help   Core Java interview questions with answers  Hi friend,Read for more information.http://roseindia.net/interviewquestions 

Java Interview Questions

java - Java Interview Questions
Java Development  I need a Job in Java Development..so preparing for it. Can anyone please guide me how to prepare and what are the common questions that can be asked at interview 

Java Interview Questions

JAVA - Java Interview Questions
, 5, 7, 9}; int[] arr2 = {2,4, 6,8, 10}; int[] arr3 = new int[arr1.length 

Java Interview Questions

java - Java Interview Questions
java   how many types of poolings are available in java explain each... in the Java : A group of objects is called as a pool of objects. Object pooling... in the pool(assume n=10). 2).If the application has to use an object it picks up 

Java Interview Questions

java - Java Interview Questions
and that contains data and codes with behavior. In Java everything happens within... classes in languages like C++ and Pascal. But in Java one can define his/her own... helloObject.helloWorld() For read in details : http://www.roseindia.net/java 

Java Interview Questions

java - Java Interview Questions
Enumeration and Iterator in Java  Difference between Enumeration and Iterator in Java programming language.  Difference between Enumeration... under the legacy classes. They are synchronized. Vector has a default size of 10 

Java Interview Questions

java - Java Interview Questions
the command line as: java MyProg I like tests what would be the value of args[ 1... until a value is assigned 3. Which of the following are Java keywords... statements assigns "Hello Java" to the String variable s? a) String s 

Java Interview Questions

java/j2ee - Java Interview Questions
java/j2ee  1.how to write list of values in jsp 2.how to write list in jsp 3,in struts how to sort objects 4.how to write instance object in jsp 5. how to stop thread 6.which tag using in struts to write 10 values print 

Java Interview Questions

Interview question - Java Interview Questions
Interview question   Hi Friends, Give me details abt synchronization in interview point of view. I mean ow to explain short and neat. Thanks 

Java Interview Questions

Jsp - Java Interview Questions
Need JSP Interview Questions  Hi, I need JSP interview questions.Thanks 

Java Interview Questions

java - Java Interview Questions
java  MNC now which modal question are asked in interview 

Java Interview Questions

core - Java Interview Questions
core  is java is passed by value or pass by reference?  hi... variables affect the caller?s original variables. Java never uses call by reference. Java always uses call by value. public class CallByValue 

Java Interview Questions

threads - Java Interview Questions
() { for (int i = 0; i < 10; i++) { System.out.println(i...://www.roseindia.net/java/ Thanks 

Java Interview Questions

java interview question and answer - Java Interview Questions
java interview question and answer   sir, i want one mark java interview question and answers 

Java Interview Questions

Interview Tips - Java Interview Questions
Interview Tips  Hi, I am looking for a job in java/j2ee.plz give me interview tips. i mean topics which i should be strong and how to prepare. Looking for a job 3.5yrs experience 

Java Interview Questions

java threads - Java Interview Questions
the priority of thread. Thanks  Hi, In Java the JVM defines priorities for Java threads in the range of 1 to 10. Following is the constaints defined...java threads  How can you change the proirity of number of a thread 

Java Interview Questions

java - Java Interview Questions
Java interview questions and answers for freshers  Please provide me the link of Java interview questions and answers for freshers  Hi friend,class Point{ int x, y; Point(){ System.out.println("default" 

Java Interview Questions

java class - Java Interview Questions
java class  What is the speciality of class? what is the use of overriding?  Hi Friend, Overriding: Overriding-These are the methods... MethodOverriding { public static void main(String args[]) { B b = new B(10, 20, 30 

Java Interview Questions

help me in these - Java Interview Questions
plz answer me it is important to me and these are the questions : 1)Write...?? 4) Write a program that asks the user for 10 integer and after storing them in an array , finds the maximum , minimum and average of the 10 numbers?? 5 

Java Beginners

Grouping strings - Java Beginners
Grouping strings  I have written a code to determine the lengths of strings. What I need to do is to group strings that are within a certain range, say 15 to 20, 21 to 30, etc. Is there any one out there with an idea?   

Java Interview Questions

Validation code - Java Interview Questions
************* Java Script Calender Date Picker function isNumberKey(value...(0,2),10); var monPartFromDate = parseInt(strFromDate.substring(3,5),10); var yearPartFromDate = parseInt(strFromDate.substring(6,10),10); var dtFrom = new 

Java Beginners

Strings - Java Beginners
Strings  Normally when we assign one object to the other, a copy of the reference is created and both these references point to the same object. eg: Obj o1=new Obj(); Obj o2=o1; But is case of Strings, how 

Java Interview Questions

Interview question - Java Interview Questions
Interview question   Hi Friends, I am new to java, can u tell me what is class ,object and instance with example. For example : class raja , raja r = new raja(); ,here raja is class and r is instance 

Java Beginners

JAVA QUESTIONS - Java Beginners
java questions asked in interview oracle  Hi all, Does anyone have a list of Java questions that is generally asked in Interview at Oracle 

Java Interview Questions

Java - Java Interview Questions
://www.roseindia.net/java/example/java/util/HashTable.shtml Thank you for posting questions. Rose India Team 

Java Interview Questions

AutoBoxing,==,!=,equals() - Java Interview Questions
() operations on Autoboxing the new feature in java 5.0 . Can any one tell me...: ========== Integer i3 = 10; Integer i4 = 10; if(i3 == i4) System.out.println("same....  Java language have 2 data types . 1.Primitive type. 2. Reference 

Java Beginners

java - Java Beginners
java  Q1>:what could company except from java fresher? Q2>:plz tell the basic questions asked for fresher during interview?   Hi Friend, For interview questions, visit the following link: http 

Java Interview Questions

guess number - Java Interview Questions
guess number  i am doing a java program for user to guess number. i need to include Math.abs in the program. my code is: import... JTextField(10); private JButton button1 = new JButton("Try"); private JButton 

Java Beginners

STRINGS - Java Beginners
STRINGS  WRITE A JAVA PROGRAM TO REVERSE THE ORDER OF WORDS IN THE SENTENCE...EXAMPLE" " "ANT EATS APPLES"SHOULD BE RETURNED AS" "APPLES EATS ANT" THANK YOU SIR..WAITING EAGERLY FOR THE ANSWER......!!!!!!  Hi 

Java Beginners

Comparing strings - Java Beginners
."); } } } -------------------------------------------------------------- Read for more information. http://www.roseindia.net/java 

Java Beginners

strings - Java Beginners
 

Java Interview Questions

Java - Java Interview Questions
Java  Hi How to write java code inorder to get the comments written in a java program? Please let me know..this was asked in my interview... in details. For more information on Java visit to : http://www.roseindia.net/java 

Java Interview Questions

Interview Question - Java Interview Questions
Interview Question  1)If we give S.O.P. statement after finally block shall it prints or not? 2)Write a program in java to read a file & write in to another file? 3)Write a program taking two arrays and compare those two 

General

10 Minutes Guide to Ant
10 Minutes Guide to Ant       Introduction Well for the next 10 minutes get ready to devote... have a solid knowledge of java programming and development of web application 

Java Interview Questions

about interview ques. - Java Interview Questions
about interview ques.  i give a interview for java.. they ask me. what is System.out.println(); what is its write ans...  Hi Friend, It is the syntax of Java used to display a string on the console window 

Java Interview Questions

java - Java Interview Questions
Java Programming  What is Java Programming language 

Java Interview Questions

java - Java Interview Questions
java  how to learn java 

Java Interview Questions

java - Java Interview Questions
Java io package hierarchy   What is the hierarchy for Java io Package 

Java Interview Questions

java - Java Interview Questions
java  Is JAVA 100% OOPL??  Hi friend, Yes,Java is 100% OOPL. Thanks 

Java Interview Questions

java - Java Interview Questions
Friend, Please visit the following links: http://www.roseindia.net/java/java-tips/background/60garbage_collection.shtml http://www.roseindia.net/java/beginners/GarbageCollection.shtml http://www.roseindia.net/java/example/java/io/code 

Java Interview Questions

java - Java Interview Questions
java   java.lang.exception is apublic or protected or serializable... visit to : http://www.roseindia.net/java/exceptions/ http://www.roseindia.net/java/exceptions/exception-classes.shtml Thanks 

JSP Interview Questions

java - JSP-Interview Questions
. These are all fairly fundamental questions, try purchasing any introduction to Java...java  whats meant by the following terms as applied in java:- 1.object oriented programming. 2.void 3.private 4.protected thanks homey.   

Java Interview Questions

java - Java Interview Questions
java  what is mean by static variables in java why it is needed 

Java Interview Questions

java - Java Interview Questions
Why Java  Why Java? why not C or C 

Java Interview Questions

java - Java Interview Questions
java  java's multithreading system is built upon_____class and________interface 

Java Interview Questions

java - Java Interview Questions
java  what is java?  Hi friend, Read for more information, http://www.roseindia.net/java/ Thanks (Roseindia Team 

Java Beginners

To get the String between two strings
To get the String between two strings  How to get string between two strings repeatedly using java?   Hi, Please tell me more about what do you want to achive. Thanks 

Java Interview Questions

data base question - Java Interview Questions
table "employee" Create table employee(ID int,name nvarchar (10),salary int,start_date datetime,city nvarchar (10),region char (1)) Alter table 

Java Interview Questions

Java - Java Interview Questions
Java  Wat is use of multithreading concept in java  Hi Friend, Please visit the following links: http://www.roseindia.net/java/thread/Java-Multithreading.shtml http://www.roseindia.net/java/thread 

Java Interview Questions

java - Java Interview Questions
Java hashmap iterator  Iterate through the Java Hashmap  1. String1=string2.caoncat(string3);2. use public static void main(String args[]) {a=args[0];b=args[1 

Java Interview Questions

java - Java Interview Questions
java   How to form a Singleton class?  Hi Friend, Please visit the following link: http://www.roseindia.net/java/beginners/SingletonPattern.shtml Hope that it will be helpful for you. Thanks 

Java Interview Questions

java - Java Interview Questions
java  What are interthread communication mechanism avialable in java. with example.   Hi Friend, Please visit the following link: http://www.roseindia.net/java/thread/InterthreadCommunication.shtml Thanks 

Java Interview Questions

java - Java Interview Questions
java  what is java?  hi , java is a programming.... java is similar to c++ syntax(not exactly equal to c++ syntax),using... language. As a development environment java technology provides u 

Java Interview Questions

java - Java Interview Questions
://www.roseindia.net/java/example/java/io/SerializingObject.shtml http://www.roseindia.net/java/example/java/io/DeserializingObject.shtml Thanks 

Java Interview Questions

java - Java Interview Questions
java  Hi, What is hashing techniquesin java? Related program and examples. Regards Ragahvendra 

Java Interview Questions

Java - Java Interview Questions
Java  What are the Disadvantages of Java ?  Hi friend, Java has the following disadvantages. 1. Because programs written in Java... correctly even if they are written correctly, because a Java virtual machine 

Java Interview Questions

java - Java Interview Questions
java  why they have implemented overriding in java?   Hi Friend, In Java Overriding provide the facility to redefine the inherit method of the super class by a subclass. The method overriding is used to invoke 

Java Interview Questions

java - Java Interview Questions
java  Write a two user Chess Game. (users must be on different systems).  Hi Friend, Please visit the following link: http://roseindia.net/java/example/java/swing/chess-application-swing.shtml Hope 

Java Interview Questions

Java - Java Interview Questions
Java  Does Java have "goto"?   Hi friend, No, Java does not have Goto statements Because 1.Goto statements form infinite loops... information. http://www.roseindia.net/java/ Thanks 

Java Interview Questions

Java - Java Interview Questions
Java   How many types of Class Loaders Are there?  Hi friend, Each Java class must be loaded by a class loader. When the JVM is started... the classes in core Java libraries 2. Extensions class loader : loads the classes 

Java Interview Questions

java - Java Interview Questions
Java factorial program   I wanted to know ..how to create a factorial program in Java using recursive method.Thanks in Advance!  Hi friend...://www.roseindia.net/java 

Java Interview Questions

java - Java Interview Questions
Java - Can a Method Contain another Main Method  Do you think that we...,A Java class contains a constructor method and finalize method. A Java class..., unless the class is being started from main. The Java constructor name is the same 

Java Interview Questions

Java - Java Interview Questions
Java  How to use C++ code in Java Program?   Hi friend, Java does not have a preprocessor. It provides similar functionality (#define..., and class definitions are used in lieu of typedef. The end result is that Java 

Java Interview Questions

java - Java Interview Questions
java   Difference between Array List and Vector with detailed... and Vector visit to : http://www.roseindia.net/java/beginners/array_list_demo.shtml http://www.roseindia.net/java/beginners/vectordemo.shtml http 

Java Interview Questions

java - Java Interview Questions
java  1. Can constructers be declared as PRIVATE in a java file??? 2. What is the major difference between classpath and path envirounmental...: http://www.roseindia.net/java/java-classpath.shtml Thanks 

Java Interview Questions

java - Java Interview Questions
java  multiple inheritane   Hi Friend, Please visit the following link: http://www.roseindia.net/java/language/inheritance.shtml Hope that it will be helpful for you. Thanks 

Java Interview Questions

java - Java Interview Questions
java  why java don't support operator overloading?  Hi Friend, Overloading provides complexity in code and violates transparency... which leads to great simplification of code. Therefore Java doesn't support 

Java Interview Questions

java - Java Interview Questions
information : http://www.roseindia.net/java/example/java/util/ Thanks 

Java Interview Questions

JAVA - Java Interview Questions
link: http://www.roseindia.net/java/example/java/io/SerializingObject.shtml 

Java Interview Questions

java - Java Interview Questions
java  what are the various names for method overriding and method overloading   Hi, I am sending a link. This link will help you. Visit for more information. http://www.roseindia.net/java/learn-java 

Java Interview Questions

java - Java Interview Questions
java  can you write a java pro with out using static infront of main... class did not have a public constructor? For more information on java visit to : http://www.roseindia.net/java/ http://www.roseindia.net/java/beginners 

Java Interview Questions

java - Java Interview Questions
more information to visit.... http://www.roseindia.net/java/example/java/util 

Java Interview Questions

Java - Java Interview Questions
to : http://www.roseindia.net/java/example/java/util/ Thanks 

Java Interview Questions

java - Java Interview Questions
the predefined methods in java)like simple java logic. can u give the brief idea 

Java Interview Questions

java - Java Interview Questions
following URL. http://java.sun.com/docs/books/tutorial/java/IandI/abstract.html http://java.sun.com/docs/books/tutorial/java/IandI/polymorphism.html Hope... link: http://www.roseindia.net/java/master-java/abstract-class.shtml Dynamic 

Java Interview Questions

java - Java Interview Questions
information, visit the following links: http://www.roseindia.net/help/java/f/final-keyword.shtml http://www.roseindia.net/java/javascript-array/modified-java-method-final-parameter.shtml http://www.roseindia.net/java/beginners 

Java Interview Questions

java - Java Interview Questions
java  if marker interface is empty how it will give special behaviour to its implementation class object   Hi Friend, In java language...://www.roseindia.net/java/master-java/interface.shtml Thanks 

Java Interview Questions

java - Java Interview Questions
can get singleton java class.That mean that java class will allow one object to access that class. With this we can avoid multithreading.This Singleton java 

Java Interview Questions

java - Java Interview Questions
for dynamically loaded Java classes (such as servlets) couldn't accept arguments. So... that implements the ServletConfig interface. Also, Java doesn't allow interfaces 

Java Interview Questions

Java - Java Interview Questions
the following links: http://www.roseindia.net/java/example/java/applet/ http 

Java Interview Questions

java - Java Interview Questions
information, http://www.roseindia.net/java/example/java/io/DataStreams.shtml 

Java Interview Questions

Java - Java Interview Questions
Basic Concept of Java  Need to learn all concept of Java  All topica are importent in Java, but you must be clear on basic concept and the complexitiy which is faced while programming.you could be asked about most 

Java Interview Questions

java - Java Interview Questions
(); } } } For more information on Java IO visit to : http://www.roseindia.net/java/example/java/io/ Thanks 

Java Interview Questions

java - Java Interview Questions
java   All the wrapper classes (Integer, Boolean, Float, Short, Long... be represented as a Boolean class instance. All of the primitive wrapper classes in Java...://www.roseindia.net/java/wrapper-class/wrapper-classes.shtml Thanks 

Java Interview Questions

plz help me - Java Interview Questions
plz help me  1)Rewrite the method in exercise 10 such that it use... . use linear search for this algorithm .then test your method in java application...){ final int arr[]=new int[10]; System.out.println("Enter 10 numbers 

Java Interview Questions

java - Java Interview Questions
by multiple class loaders. EXAMPLE FOR THIS SINGLETON JAVA CLASS public class 

Java Interview Questions

how to find largest number? - Java Interview Questions
how to find largest number?  this is my java coding: import... in the Array: \n"); for(i=0; i < 10; i++){ System.out.print(no[i...]; for(i=1; i < 10; i++){ if(max < no[i]){ max = no[i]; }else 

Advertisements Advertisements
 

 

 

DMCA.com