User Comments for the tutorial:

Prime Number in Java

Total comments: 23      View Tutorial    Discuss: Prime Number in Java



tutorials so far word fine till i got 2 this one a
tutorials so far word fine till i got 2 this one and i get an error on line 18 int num = Integer.parseInt(bf.readLine()); with bf.readLine(); 

ok i solved the prob
ok i solved the prob 

I cant understand what "throws Exception" do
I cant understand what "throws Exception" do 

how to write given no is prime or not plz provide
how to write given no is prime or not plz provide code for that 

I really respect who has developed this website and uploaded the easy and good programs. i really like this webiste and due to this website i have got A+ in my final exams in java. i have not touched even my course book. I really like it keep it up 

need for bufferReader
regarding bufferreader-is it able to use datainputstream instead. really this tuts help me a lot! nith wishes----------naveen 

learning of Java
Thanks for providing for program.Java is a very nice laungage. 

java Questions
Actually Connection is an interface in jdbc,without creating a class how can we get a method inside connection interface?  

Using Validator in struts
Please tell me about the mask Rule  

Explain please!
Couldn't understand the code where it says: if(i == j) Can anyone explain me this bit?y do we need that for?  

coding for firewall implementation using java
hai. i need sample coding for firewall implementation using java. 

Reply-how to write given no is prime or not plz pr
import*; class PrimeNumber { public static void main(String[] args) throws Exception{ int i; BufferedReader bf = new BufferedReader( new InputStreamReader(; System.out.println("Enter number:");  

rfid connectiviity code
hello sir I have visited this site frequently,whenever I get any coding problems. I am creating an project for my last year of Bsc.IT for that I required an I have never work with rfid I don't have any idea how to connect it with computer,I a 

thx 4 the code..
thx 4 the code.. i really use it.. but can i ask if how to start the counting from 1..? ill wait 4 the code.. thx ahead.. 

Keep It UP..
This is Really a Helful & nice site bcause the programs r easy 2 understand.. Q.) Source code for displaying 10 Prime no. starting from 100. 

java fresher
satisfy with your answers  

osam and much easier to get requierd prog's 

i will like to know a lot about the way vectors work in programming(java) and the sample codes. 

Just chek the code once again
whn i give number 0 , it prints 2 3 5 7 , rectify it  

its really a nice site for java beginners.. 

information tecknology
it's very difficult 


I need the abut the gme,s for this week, so no badi tolme abuy that.only this I'm iform to you. thankyou verry much. 

Related Tutorial and Articles

Java Video Tutorials for beginners
Java Video Tutorials for beginners are being provided at Roseindia online for free. These video tutorials are prepared by some of the best minds of Java... Java is the complicated terminology used by the programmers and till the time 

Programming Tutorials

new page, I am still experimenting heavily with the contents of the tutorials..., if the tutorials are too hard to follow, then I would be interested in feedback... The free Borland 5.5 Compiler and command-line tools has, so far, been a great success 

Java Beginners

to fine a software - Java Beginners
to fine a software  Is ther any software or utility available to create a jar file as in the case of zip file utility 

Java Beginners

create MS Word in Java - Java Beginners
create MS Word in Java  Hi, Could any one please post the code which creates the word document having different paragraphs and two tables. i have... which creates MS Word in Java 

Java Beginners

word program - Java Beginners
word program  HELLO MAM AND SIR I ASK YOUR HELP HOPE YOU GONNA HELP ME THANK YOU!!Design a program to search a word for letters that the user...,so your program converts all letters by the user to the same case).You do 

Java Beginners

java tutorials
java tutorials  Hi, Much appreciated response. i am looking for the links of java tutorials which describes both core and advanced java concepts... ..and few topics are discussed in brief and few in fed up.. If i can get 

JSP Tutorials

JSP Tutorials - Page2
JSP Tutorials page 2 JSP Examples Hello World JSP Page... Page 1 | JSP Tutorials Page 2 | JSP Tutorials Page 3... This section shows you how to import a java package or the class in your jsp 

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.   ... the various beginners tutorials related to Java 

PHP Questions

I GOT ERROR FOR MY PROJECT  Dear Friend/ RoseIndia Team, Firstly I would to thank u Guys help me so many time.. I got error on my little project when running at server. please correctly my error Guys... ERROR CODE: "LOGIN 

Java Beginners

Java Word Processor
Java Word Processor  Problem: Design and implement a class called... of words (a hyphenated word is one word), o number of sentences (ends... a single space between them. ? Your class should have 2 constructors: one