text: We know that. But you should always let us know when you have already cross posted the same question on any other forum. So if it gets resolved there, people here won't waste their time trying to...
  We know that. But you should always let us know when you have already cross posted the same question on any other forum. So if it gets resolved there, people here won't waste their time trying to...
  Cross posted : a unknown symbol is visible? :mad:
  Goldest
  Which means you haven't set your environment variables to use Java yet.
  Have a look how to do that here: Configure Java environment on Windows
  Hope that helps,
  Goldest
  OP,
  You need to override the toString() method in your Student class and print something sensible inside that.
  The current output is showing the "Classname @ hex version of object's hashcode"...
  Seems like you have only declared the "DefaultTableModel" but not initialized it and thats what is causing the NullPointerException.
  Initialize it properly,
  DefaultTableModel tabMode = new...
  Why don't you use ArrayList then?
  Have a method, something which would get called for every store information. Once you receive your parameters, pass them along to it and store them in ArrayList....
  Your method takeTurn() of Contenstant class is making this to happen.
  Whats happening is Your Random.nextInt(int) is getting passed a negative value. Which means that
  turnDuration =...
  Seems like TestCase constructor has private access.
  Please verify.
  Goldest
  Hey leepan2008,
  Seems like the issue is that you are using some native methods in your program and the native libraries are missing from the path.
  Here is what java docs says about...
  Please use [highlight=java]your java code here[*/highlight] while posting your code.
  Remove the * from [*/highlight] while posting the code actually.
  That would help us understand it better.
  ...
  You really need to know how to use code tags! :mad:
  Then, you need to pass the pAnswer to your checkAnswerQ1 method. Because pAnswer is what your user has selected as an answer.
  String rAnswer...
  I hope you have changed your code from,
  a=Integer.parseInt(arg[1]);
  b=Integer.parseInt(arg[2]);
  c=Integer.parseInt(arg[3]);
  to
  a=Integer.parseInt(arg[0]);
  b=Integer.parseInt(arg[1]);...
  API documentation links for your reference
  ArrayList: ArrayList-API
  Java Iterator: Iterator-API
  Goldest
  I am not quite sure about whether you want to display the odd number as soon as it's entered.
  What I got is, you are going to enter 10 numbers first constantly. And then once the number feeding is...
  This is what I was thinking about,
  import java.io.*;
  public class MultiplicationTest {
  public static void main(String args[]) {
  System.out.print("Enter Number: ");
  BufferedReader...
  What are the exact error messages?
  Would you please post them?
  Goldest
  You are Welcome! :-bd
  It would be nice if you can show some code and tell us where you have stuck up exactly.
  That would be easy for people here as well. Because the description above isn't enough to understand whats...
  OR
  In case if you don't want to get lost in the world of Java API documentation, them simply change the signature of your plot method. Take String instead of a char.
  Change this,
  public...
  Just in case if you are interested to do the things from main only, then you will have to change the implementation a bit.
  You will need to use the static nested class inside your class. That...
  Hey Arvind,
  Usually in java the keyword "this" refers to the current object. And static means per class and not per object. The rule is that you can't access a non-static variable from a static...
  The bullet you shot above, just went over my head.
  I am feeling lucky that there is something more weird and dangerous than coding. <:-P
  Goldest
  Hey endframe,
  The problem here is that, your nextLine() method is trying to read till the end of the line and going to the beginning of second line. And because of that, it is reaching the 1st...
  In case if you are totally chocked up about how to get started, here are some pointers.
  1) Use chained stream readers to get the console input.
  2) Read the console input into a String.
  3)...
  You are Welcome! :D