Home Tutorialhelp Comment Good Sample !

 
 

Comment

Martin
Good Sample !,
September 22, 2009 at 9:35 AM

Thanks for helping us to understand the Collns TreeMap concept. Its simple and good sample. Regards, Martin
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

Sample java program
Sample java program  I want a sample program: to produce summary information on sales report. The program will input Data of Salesman Id, Item code..., display "good sales" if item code is 250-300, display "excellent sales" each 

JDBC Questions

jdk6 and oracle 8i
jdk6 and oracle 8i  I connecte oracle 8i and jdk6 I notice that why can not connect 

JavaScript Questions

Java sample using - for loop, if then else etc etc
Java sample using - for loop, if then else etc etc  sample program to produce summary information on sales report. The program will input Data... code is 150-200, display "good sales" if item code is 250-300, display 

Java Beginners

Good tutorials for beginners in Java
Good tutorials for beginners in Java   Hi, I am beginners in Java... in details about good tutorials for beginners in Java with example? Thanks.   Hi, want to be command over Java, you should go on the link and follow 

JDBC Questions

connexion oracle 8i et jdk6
connexion oracle 8i et jdk6   j'ai connexion oracle 8i et jdk6 je remarque que connexion impossible comment 

Java Beginners

Hi good afternoon
Hi good afternoon  write a java program that Implement an array ADT with following operations: - a. Insert b. Delete c. Number of elements d. Display all elements e. Is Empty 

Java Beginners

HOW TO BECOME A GOOD PROGRAMMER
HOW TO BECOME A GOOD PROGRAMMER  I want to know how to become good programmer   Hi Friend, Please go through the following link... learn java easily and make a command over core java to proceed further. Thanks 

Swing AWT

Good Looking Java Charts and Graphs
Good Looking Java Charts and Graphs  Is there a java chart library that will generate charts and graphs with the quality of visifire or fusion charts? The JFreeChart graph quality is not professional looking. Unless it can 

Java Beginners

java sample code - Java Beginners
java sample code  hai...... i need a full sample program fo inheritance.........  Hi Friend, Please visit the following link: http://www.roseindia.net/java/language/inheritance.shtml Thanks 

Framework Questions

error in sample example
error in sample example  hi can u please help me XmlBeanFactory class is deprecation in java 6.0 so, pls send advance version class   Use XmlBeanFactory(Resource) with an InputStreamResource parameter 

Java Beginners

Sample Code For ArrayLlist - Java Beginners
Sample Code For ArrayLlist   Hi Friend, I want sample... ArrayList.Give sample code for Arraylist with realtime application.  Hi I... about ArrayList. http://www.roseindia.net/java/example/java/util 

Java Beginners

which data structure is good in java..? - Java Beginners
which data structure is good in java..?  Hi frends, Actually i... and vector ...etc........ i wanted to know, which technique is good to store... anyone give me good example how that best technique i can use in my programs 

Hibernate-Tutorials

HQL Sample
HQL Sample In this site there are many tutorials and example of HQL. These examples comes with HQL sample code that you can download and run on your computer and learn the HQL by modifying and executing these examples. The HQL Sample 

Development process Questions

Sample Code - Development process
Sample Code   Hi Friend, Give sample code DTO in webapplication.  Hi friend, DTO Implementation: One way to improve... Framework. To use a DTO, you have to complete the following four steps. The good news 

Java Beginners

java sample program - Java Beginners
java sample program  hai i need a sample program for polymorphism  Hi Friend, Try the following code: class Shape { int x,y; void area(){ } } class Square extends Shape { int l=2; void area 

JSP Servlet Questions

Sample program of JSP
Sample program of JSP  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org 

JSP Servlet Questions

Sample program of JSP
Input program in JSP  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org 

Java Beginners

mahesh want to know java with good understanding
mahesh want to know java with good understanding  I need to know about java beans(what are java beans,why we use java beans, etc...).I want an example program and it's output also.please teach me...   Java Beans 

Struts Questions

Which is the good website for struts 2 tutorials?
Which is the good website for struts 2 tutorials?  Hi, After completing the MCA I have learned Java and now searching for good tutorial website for learning Struts 2. Suggest met the struts 2 tutorials good websites. Thanks 

Development process Questions

need a Sample code - Development process
need a Sample code  i want run the python script in java code by using Runtime class and output should be formed like XML format.please help me. Advanced Thanks, Krishna 

General

Iterator Java Sample
Java Sample Iterator interface makes the traversing of the elements easy...() Java Sample Iterator Example import java.util.ArrayList; import... sample { public static void main(String[] args) { List list = new ArrayList 

Framework Questions

Looking for sample project in java using netbeans
Looking for sample project in java using netbeans  Hi all, i am novice in developing desktop application in java using netbeans. can anyone pls help...;Please visit the following link: http://www.roseindia.net/java/java-tips 

Hibernate Interview Questions

Hibernate sample code - Hibernate Interview Questions
Hibernate sample code  Hi Can any body tell me how to persist inner... Hibernet.org.The Hibernate 3.0 core is 68,549 lines of Java code together with 27,948 lines... for well over a year. Hibernate maps the Java classes to the database tables 

Java Beginners

need a sample project using java technologies like jsp, servlets, struts
need a sample project using java technologies like jsp, servlets, struts  Hi everybody! I have learnt core java,jdbc,jsp,servlets & struts. Please guide me where can i find sample project like library management, CMS or any 

WebSevices Questions

sample jsp-servlet-service-db program
sample jsp-servlet-service-db program  <%@ page language="java...; <%@ page language="java" contentType="text/html; charset...; <%@ page language="java" contentType="text/html; charset=ISO-8859-1 

General

Collection of Large Number of Java Sample Programs and Tutorials
Collection of Large Number of Java Sample Programs and Tutorials Java Collection Examples Java 6.0 New Features (Collection Framework... will read the advantages and disadvantages of Java Collection Framework 

Java Beginners

view jsp file (reference file). is the way of coding good ?
view jsp file (reference file). is the way of coding good ?  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> View Retailer <%@ page import="com.tcs.ilp.*" %> 

Java-Tutorials

Sample Java program for beginners
Here beginners in Java can learn to create there first Hello World program in Java. To install Java one needs JDK (Java Development Kit), which can..., a programmer is ready to create their own Java program. Here we have also described 

Development process Questions

sir, how to convert excel file to csv file using java? please send me sample code.
sir, how to convert excel file to csv file using java? please send me sample code.  please send me sample code for converting excel file into csv file uisng java 

Java-Tutorials

The Sample Banner Example in Java
Java - The Sample Banner Example in Java   ... the banner in java applet. Simply the banner is used to advertising for any... and display the moving text in the appropriate rectangle.  Here is the Java code 

Ajax Questions

Ajax sample
 

Java Server Faces Questions

JSF Sample Programs
JSF Sample Programs  I need a JSF sample programs 

Java Beginners

sample Applet program
sample Applet program  I need Source Code for sample Applet program.   Hi Friend, Please visit the following link: Applet Tutorials Thanks 

Java Beginners

Need Sample code To check the Windows services status is up or down in Linux mechine
Need Sample code To check the Windows services status is up or down in Linux... is up or down ,this has to check that in linux with simple standlon java application please provide any sample code. below code can work in only windows box 

WebSevices Questions

sample code - WebSevices
sample code  Hi Guys, can any body tell me use of webservices ? I want a sample code using xml with one application server bea weblogic and webserver tomcat   Hi Friend, Please visit the following link 

WebSevices Questions

Good web services site - WebSevices
Good web services site  Hi can i get reference to the web services site, where i can get the complete web services for scratch.  Hi Naresh, I guess u r in right place. I learn my self from roseindia. thanks 

Java Beginners

Need sample code
Need sample code  Need code for graph which shows the performance comparission of aprior algorithm and coherent rule algorithm.plz can any one help me i need in a week 

Mobile Applications Questions

GLImageProcessing iphone sample
GLImageProcessing iphone sample  Hi, From where I can download the GLImageProcessing example for iPhone? Thanks   Hi, The GLImageProcessing sample for iPhone shows how to use OpenGL ES libraries to bright, sharp 

Java Beginners

RetDAO.java (part2) .. will give good points to everyone. Is this logic good?
RetDAO.java (part2) .. will give good points to everyone. Is this logic good?   public static int delete(Connection conn,String ret_id) throws Exception { st=conn.createStatement(); rs=st.executeQuery 

Java Beginners

RetDAO.java (part1) ..reference. Is this logic good?
RetDAO.java (part1) ..reference. Is this logic good?  public static int searchDelete(Connection conn,String ret_id) throws Exception { //System.out.println(ret_id); st=conn.createStatement 

Java Beginners

RetDAO.java (part1) ..reference. Is this logic good?
RetDAO.java (part1) ..reference. Is this logic good?  public static int searchDelete(Connection conn,String ret_id) throws Exception { //System.out.println(ret_id); st=conn.createStatement 

Ajax Questions

Sample Ajax Code
Sample Ajax Code  Sample Ajax Code for getting values from another JSP   The below code is helpful to access another Action class //In Main JSP file var xmlHttpObj,xmlHttpObj1; function getXmlHttpObject() { var 

WebSevices Questions

Axis2 sample program
Axis2 sample program  Hi.. I have tried the HelloWorldServie example in axis2. While running which showing as a faulty service. The error showned as follows This Web axisService has deployment faults Error 

SQL Question

mca entrance sample papers - SQL
mca entrance sample papers  please send me sample papers of MCA entrance exam.. thanks in advance 

PHP Questions

event calendar sample
 

Jobs

Java Freelance Jobs
is for the experienced Java Programmers. Freelance Jobs for Java Programmers is another good... for Java Freelance Job: You will be developing articles, examples, and sample programs... Java Freelance Jobs    

JMS Questions

Sample JMS Project is NEEDED - JMS
Sample JMS Project is NEEDED  hi friends Priya here, currently i'm doing R & D on JMS to expertise in JMS. but i didn't get any Project specification or any projects on JMS... So plz tell me the urls of the JMS 

Java Beginners

login controller.servlet file.. (good coding stuff for reference)
login controller.servlet file.. (good coding stuff for reference)  package com.tcs.ilp.controller; import java.io.*; import java.util.*; import com.tcs.ilp.model.*; import java.sql.*; import java.io.IOException; import 

Development process Questions

Sample Code for DTO in WebApplication - Development process
Sample Code for DTO in WebApplication   Hi Friends, Can u explain DTO in webapplication with sample code 

Spring Framework Questions

sample e-commerce project desc& screens
sample e-commerce project desc& screens  Hi, I want Sample e-commerce project description and screens and registration, cataloge module...............plz send me 

Framework Questions

GPS Device Tracking Sample Web Application - Framework
GPS Device Tracking Sample Web Application  How and by what can i develop a sample web application which can track a GPS device? Kindly help in this context 

Struts Questions

Can you suggest any good book to learn struts
Can you suggest any good book to learn struts  Can you suggest any good book to learn struts 

Java Beginners

Sample\Practice project on JSP and Web services
Sample\Practice project on JSP and Web services   I wanted to implement\Practice a project using web services. where can I get these details   Please visit the following link: http://www.roseindia.net/webservices 

Spring Framework Questions

Could anyone point me towards some good Spring tutorials, Please?
Could anyone point me towards some good Spring tutorials, Please?  Hi, I would like to learn Spring Framework and so, if you can tell me where I can find some good Spring tutorials, that would be very helpful. Thanks in advance 

Spring Framework Questions

Please point me towards a good Spring transactional tutorial
Please point me towards a good Spring transactional tutorial  Hello, I am new to Spring and came across Spring transactional and i would like to learn about it. Please point me towards a good Spring transactional tutorial 

JSP Servlet Questions

sample JSP&Servlet application required? - JSP-Servlet
sample JSP&Servlet application required?  hey all iam new to jsp&servlets i did read some tutorials about the basics and i want any simple tutorial or a project that integrate both jsp&servlets any help?  Hi Friend 

Hibernate Questions

Can you give me some good factory pattern examples?
Can you give me some good factory pattern examples?  HI, I am looking for some factory pattern examples to learn about them, if you can point me..., Here are some links that you will find helpful, they have good factory pattern 

General

Lambda Expression in Java 8
Lambda Expression in Java 8: Learn the power of Lambda Expression In this section we will learn about the Lambda Expression which is introduced in the Java... in the Java 8. This is the biggest upgrade introduced in the Java so far 

Hibernate Questions

Please..please provide me a good Hibernate in Spring example
Please..please provide me a good Hibernate in Spring example  Hi, Can anyone please provide me a Hibernate in Spring example with simple explanation as I am new to Hibernate. Thanks in advance..   Dear Friend, If you 

Web Development

Top 10 Tips for Good Website Design
Designing a good website as to come up with all round appreciation, traffic... presence. Good website design tips reflect on the art of mastering the traffic... by the webmaster. Good website design is a continuous process that needs you to evaluate 

Free Programming books

EJB Books
for the experienced Java developer or manager, Professional EJB provides a truly in-depth guide to using Enterprise Java Beans, including versions 1.0 and 2.0. Filled with practical advice for good design and performance and plenty 

Java Beginners

RetController.java (do get) (my file for reference for a test.. IS LOGIC good Enough ?
RetController.java (do get) (my file for reference for a test.. IS LOGIC good Enough ?   try { Connection conn=Create_Connection.conOpen(); System.out.println(conn); String submit 

Hosting Tutorial

Free Web Hosting - Why Its not good Idea
Free Web Hosting - Why Its not good Idea This article shows you why Free Web Hosting is not good Idea for hosting your web sites, specially when you... of adds on your site. They make good money, but you can't get anything out 

Development process Questions

sample application using hibernate and wicket framework in net beans IDE
sample application using hibernate and wicket framework in net beans IDE  where can i get sample applications/ projects using hibernate and wicket framework in net beans IDE 

JavaMail Questions

java
java  sample code for RARP using java 

Web Development

Why the Google Penguin update is good for SEO
update is good for SEO, well specially for white-hat SEO and not black-hat.... The recent update is a good sign for White Hat SEO who has been working hard 

General

SCJP Module-12 Question-4
Given below the sample code : 1. double in= 314159.26; 2. NumberFormat nof = NumberFormat.getInstance(Locale.ITALIAN); 3. String str; 4. //insert code here Which code should be inserted at line 4 to set the value of b to 314.159,26 

Development process Questions

How to use Bean Area in Oracle Forms 9i with Sample code ?
How to use Bean Area in Oracle Forms 9i with Sample code ?  Hi friend.I posted a query,but I didn't get the answer for it.Help me to resolve including a bean area in oracle forms 9i and using it in forms.Thanks in advance.Help me 

General

SCJP Module-8 Question-10
Given a sample code: class Test extends Thread { public void run() { System.out.println("One"); System.out.println("Two"); } private void method() { System.out.println("Three"); } public static 

General

SCJP Module-10 Question-2
Given a sample code: import java.io.File; public class Test { public static void main(String[] args) throws Exception { File file = new File("test.txt"); System.out.println(file.exists()); }} What will the result 

General

SCJP Module-9 Question-12
Given below the sample code : 11 EnumMap< Integer> frequencyEnumMap = new EnumMap< Integer>(ordinaryMap); 12 frequencyEnumMap.put(null, 100); 13 System.out.println("Frequency EnumMap: " + frequencyEnumMap); What 

General

SCJP Module-1 Question-23
Given a sample code: 1    class SetVar { 2    private int i = 0; 3    public int plusOne() { 4    return + ++i ; }} 5    public class Test { 6  

General

SCJP Module-9 Question-15
Given below the sample code : 33. Object [] Obj = { 34. new Integer(12), 35. new String("foo"), 36. new Integer(5), 37. new Boolean(true) 38. }; 39. Arrays.sort(Obj); 40. for(int i=0; i<Obj.length; i++) { 41 

General

SCJP Module-9 Question-16
Given below the sample code : 1.  import java.util.*; 2.  public class Demo { 3.  public static void main(String[] args) { 4.  // insert code here 5.  t.add(new Integer(2)); 6.  t.add(new Integer(1)); 7 

General

SCJP Module-6 Question-28
Given below the sample code : class A1{ public void process() { System.out.print("Inside A1 "); }} class B extends A1{ public void process() throws IOException{ super.process(); System.out.print("Inside B " 

General

SCJP Module-8 Question-9
Given a sample code: public class Test implements Runnable { public static void main(String[] args) throws Exception { Thread t = new Thread(new Test()); t.start(); System.out.print(" Started"); t.join(); System.out.print 

General

SCJP Module-3 Question-2
Given a sample code: 1 public class Test { 2 public static void main(String[] args) { 3 OuterClass.InnerClass i = new OuterClass.new InnerClass(); 4 i.innerMethod(); 5 OuterClass o = new OuterClass(); 6 o.x=5; }} 7 class 

Java Beginners

Java
Java  Sample java program for employee recruitment status 

General

SCJP Module-9 Question-3
Given below the sample code : import java.util.NavigableMap; import java.util.concurrent.ConcurrentSkipListMap; public class CheckSize { public static void main(String... args) { NavigableMap <Integer, String>nM = new 

Java Beginners

Getting Exception on UseDefinedException sample program - Please help me how to resolve
Getting Exception on UseDefinedException sample program - Please help me how to resolve  class UseDefinedException extends Exception{ String msg = ""; int marks; public UseDefinedException() ){ } public 

General

SCJP Module-1 Question-29
Given a sample code: 1    class Test3 { 2    public Integer showval; 3    public void methodOne() { 4    Integer i = new Integer(1); 5    showval = i; 6 

General

SCJP Module-12 Question-5
Given below the sample code : 1  import java.text.*; 2  import java.util.*; 3  public class dateclass { 4  public static void main(String args[]){ 5  Locale locale = Locale.getDefault(); 6  

Security Questions

Sample code for An ASCII Encryption and Decryption code in C-language only.
Sample code for An ASCII Encryption and Decryption code in C-language only.  In an environment where security is paramount, the messages stored in a file must have a format that is different from the meaning of the original 

Java Interview Questions

java
java  different between java & core java print("code sample 

Java Interview Questions

java
java  different between java & core java print("code sample 

MySQL

Smarty MySQL Tutorials
for the PHP and it supports caching. It provides good performance and can be used to develop application of any size. Its performance is also very good... and populating it with sample news 3.Writing the php code (news.php) to retrieve the data 

JSP Servlet Questions

have any one tried ajaxanywhere with jsp/servlet please provide sample
 

Java-Tutorials

Clock Applet in Java
Java - Clock Applet in Java       Introduction Here is a sample of running clock provided by the java applet to illustrate how to use the clock in an applet. This program shows 

Java Beginners

delete retailer jsp file (sir..is this a good logic.. jsp file is useful for what purpose)
delete retailer jsp file (sir..is this a good logic.. jsp file is useful for what purpose)  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http 

General

SCJP Module-2 Question-12
 

Hibernate-Tutorials

hibernate sample code
 

Programming Tutorials

SCJP Sample questions and answers.
 

General

SCJP Module-6 Question-21
Given below the sample code : class Main { static String a = "&&"; public static void main(String[] args) { new Main().a1(); System.out.println(a); } void a1() { try { a2(); } catch (Exception e) { a += " 

Java Interview Questions

java
java  how to connect one frame to another frame by using awt or swings?`print("code sample 

General

SCJP Module-1 Question-26
Given a sample code: abstract class A { abstract void a1(); void a2() { System.out.print(" A"); } } class B extends A { void a1() { } void a2() { System.out.print(" B"); } } class Test extends B 

General

SCJP Module-12 Question-7
Given below the sample code : 1. public static void format(String str) { 2. try { 3. float flt = Float.parseFloat(str); 4. } catch (NumberFormatException nfe) { 5. flt = 0; 6. } finally { 7. System.out.println(flt); 8. } 9 

General

SCJP Module-9 Question-24
Given below the sample code : public static void addition(List list) { list.add("0021"); } public static void main(String[] args) { List<Integer> myList = new ArrayList<Integer>(); addition(myList 

General

SCJP Module-9 Question-25
Given below the sample code : import java.util.*; public class MyClass{ public static Object Mymethod(List lst) { return lst.get(0); } } Which code line will run after adding it to the above code ? 1. Object a = MyClass.Mymethod 

General

SCJP Module-12 Question-1
Given below the sample code : NumberFormat nform = NumberFormat.getInstance(); nform.setMaximumFractionDigits(4); nform.setMinimumFractionDigits(2); String i = nform.format(3.1415926); String j = nform.format(3); Here, the default 

General

SCJP Module-12 Question-2
Given below the sample code : 11 DateFormat df = DateFormat.getDateInstance(); 12 Date date = new Date(); 13 df.setLocale(Locale.ITALY); 14 String str = df.format(date); 15 System.out.println(str); What will be the output 

Advertisements Advertisements
 

 

 

DMCA.com