Core-Java

View Answers

May 8, 2008 at 6:21 PM

Hi friend,

import java.io.*;

public class AppendExam{

public static void main(String args[]) throws IOException{
BufferedReader buff = new BufferedReader(new InputStreamReader(System.in));
System.out.println("please enter First String");
String str = buff.readLine();
System.out.println("Please enter second string:");
String str2 = buff.readLine();
StringBuffer sb = new StringBuffer();
System.out.println(sb.insert(0, "amar"));
int len = sb.length();
//last position
System.out.println(sb.insert(len, "deep"));
}
}


---------------------------

read for more information,

http://www.roseindia.net/java/









Related Tutorials/Questions & Answers:
core java
core java  how to display characters stored in array in core java
CORE JAVA
CORE JAVA  CORE JAVA PPT NEED WITH SOURCE CODE EXPLANATION CAN U ??   Core Java Tutorials
Advertisements
core java
core java  i need core java material   Hello Friend, Please visit the following link:ADS_TO_REPLACE_1 Core Java Thanks
core java
core java  Hi, can any one expain me serialization,Deseralization and exterenalization in core java
core java
core java  Hi, can any one exain me the concept of static and dynamic loading in core java
Core Java
Core Java   How can i write own compile time and runtime exceptions in java   Hello Friend, Please visit the following links: http://www.roseindia.net/java/exceptions/how-to-throw-exceptions.shtml http
core java
core java  Hello sir,What is logic behinde the core java programms,How may programmas are there,for example,sorting of two numbers,grade of the student details,fibonice serice,paldroma,incremting of the program,asscedding
core java
core java  Hello sir,What is logic behinde the core java programms,How may programmas are there,for example,sorting of two numbers,grade of the student details,fibonice serice,paldroma,incremting of the program,asscedding
Core Java
Core Java   Hi, Can any one please tell me the program to print the below matrix in a spiral order. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Thanks a lat in advance
Core java
Core java  How to use hyperlink that is href tag in core java without swing, frames etc. My code is StringBuffer oBodyStringBuffer = new StringBuffer("Message Classification: Restricted.\n\n
core java
core java   class A { int a=3; int b=4; public A(int a,int b) { this.a=a; this.b=b; } void display() { System.out.println(a); System.out.println(b); } } class Testthis { public static void main(String arr[]) { A x=new A(8,9
core java - Java Beginners
core java  i want to get java projects in core java
CORE JAVA CMD
CORE JAVA CMD  How to run cmd command in jsp
Core java keywords
Core java keywords  How java keywords are stored in library
core java - Java Beginners
Core Java interview Help   Core Java interview questions with answers  Hi friend,Read for more information.http://roseindia.net/interviewquestions
core java program in MyEclips
core java program in MyEclips  Can we write core java programs in MyEclipse? If so, then give a pictorial representation of the steps followed
core java qus
core java qus  write a import statement that import an outer class including in inner class
core java qus
core java qus  write a import statement that import an outer class including in inner class
core java qus
core java qus  write a import statement that import an outer class including in inner class
core java 15/03/14
core java 15/03/14  Q )how to make arraylist as reads only
Core Java - Java Interview Questions
Core Java Applet  I want a small core java applet example.Thanks in Advance
What does core Java include?
What does core Java include?  What does core Java include? As a beginner in Java I want to know all the topics of Core Java. Thanks   Hi, Core Java includes following topics: Java Basics Fundamentals Check
Advance and Core JAVA Topics
Advance and Core JAVA Topics  topics come under core java and topics come under advanced java?   Under Core Java, following topics comes... JDBC Under Advanced Java, following topics comes: Generics Reflection
minor project in core java
minor project in core java  I am a student of BE IT branch 6sem ,i have to prepare a minor project in core java please sujest some topics other then management topics
Core Java -String
Core Java -String  Write a program to print "Ranjan pintu am i". the given string is i am pintu ranjan. here there is a condition, we can't use split() method, using loop only
Core Java String
Core Java String  Hi , Here my code Class Test { String s1 = "null"; String s2 = "null"; String s3 = s1+s2; } what is the out put
Core Java - Java Beginners
Core Java  What is Java? I am looking for Core Java Training  Hi friendThe Core Java Technologies and application programming interface... Microsystems. We generally introduce java in two ways, core java and advance java
Core java Basic
Core java Basic  How to compile a program using the package statement at the first line.Do I have to create a a Seperate Folder with the name of the package in my directory.Please tell me the steps
Core Java-ArrayList
Core Java-ArrayList  How do i find duplicates in ArrayList. First i add some elements to ArrayList, then how do i find the duplicates and show the duplicate elements. Give an example
What is the benefits of learning Core Java?
What is the benefits of learning Core Java?  Hi, I am planning to learn Java. What is the benefits of learning Core Java? Thanks
CORE - Java Interview Questions
CORE  Hai this is jagadhish. My doubt in core java is,How many design patterens are there in core java? Thanks inadvance...  Hi friend... patterns in Java. These patterns are grouped under three heads: 1. Creational Patterns
Running core java program
Running core java program  I am jayesh raval. I am going to make simplae program and at the time of runnint that program I found class not found exception. I have clear source of that program and that is right in the syntax. so
core java-file
core java-file  hi, i want to create a file name simple.txt using command promt and also i want to insert a 36 numbers in a file using command prompt only and then i want to make that data in the form two data in a bracket lke
Stages in Core Java - Java Beginners
Stages in Core Java  I like to know the growth stages of Core JAVA: i came to know the Stages of core java as below: 1. core java 2... the market for Core Java? (or any others, plse specify
How to integrate core java with Hibernate
How to integrate core java with Hibernate  How to integrate core java with Hibernate How to integrate core java with Hibernate   xxxxxxxxx... link will provide you some tutorials of Core Java and Hibernate Integration.  
Core java linked list example
Core java linked list example  What is the real time example for linked list
Best Core Java Online Training
Best Core Java Online Training  Hi, I want to make my career in Java... is the best Core Java Online Training course? Thanks   Hi, Learning Core Java is first step in building your career in Java Programming. Rose India
core Java programming
core Java programming  Hi, Thanks for ur previous answers.... I need some of these answers also... Bharathi Indian Cuisine is a leading Indian...;TIME:HHMMSS;ITEM1:QTY:PRICE;ITEM2:PRICE2;] They are looking for a Java Program
core java - Java Beginners
core java  "Helo man&sir can you share or gave me a java code hope its ok?"thank you Design a program that records and reports the weekly sales.... core java jsp servlet Friend use Core JAVA .thank you so much.hope you
core java - Applet
core java   Namaste sir , how can draw a line in Applet. I want when I press mouse button and moves any way then show the line . i, working jdk1.5.0_17 version. without use Canvas and Frame. like this: when press mouse button
Core java - Applet
Core java   I, want to make a menu and thats munu Item is Shortcutkey is 1st and 2nd About when i click 1st menu Item shortcutkey display the window... with the following html code: Java Applet Demo Thanks
core java - Development process
core java  Hi i want core java code for this problem.its urgent ,waiting for your answer PROBLEM TWO: MARS ROVERS A squad of robotic rovers... visit to : http://www.roseindia.net/java/ Thanks
core java programming question
core java programming question  How to write a java program to list the customer names arrived to a restuarant on a particular date in alphabetical order with arguments as 1 filename yymmdd cust   Hi Friend, Try
core java - Development process
core java  Hi i want core java code for this problem.its urgent ,waiting for your answer PROBLEM ONE: SALES TAXES Basic sales tax is applicable... to : http://www.roseindia.net/java/ Thanks
Version of com.maxxton>microdocs-core-java dependency
List of Version of com.maxxton>microdocs-core-java dependency
Core Java Exceptions - Java Beginners
Core Java Exceptions  HI........ This is sridhar .. Exceptions r checked exception and unchecked exception ........? Checked exceptions r.... http://www.roseindia.net/java/ Thanks
core java project by using databse
core java project by using databse  hello sir, i'm a b.tech final year student.... i wantto make a project on java with database... can u plzz suggest me how i can start for it.... means on which topic i can make project
Core Java Topics
Core Java Topics Following are the topics, which are covered under Core Java. In the roseindia website for core java, programmer will find completed details of every core java topic and simple example of core java that will help you learn
Core Java tutorial for beginners
Core Java tutorials for beginners makes its simpler for novices..., the Java guide section is divided into two sections: Core Java and Advanced Java. Core Java is where the basic parts of Java are explained while Advanced Java
Core Java Interview questions and answers
Core Java Interview questions and answers  .... So, we have tried to create most frequently asked Core Java Interview Questions and answers in one place.ADS_TO_REPLACE_1 These Core Java Interview Questions