hey guys, i'm new
i'm only a mis guy so bare with me
but i just started using netbeans after being familiar with the textpad type of compiling/executing
anyway i'm trying to read strings using the the console read in funtion
i used the statement "import javacore.*;" before the class definition
then used the code:
public class ConsoleTest
{ public static void main(
String[] args)
{double x=Console.readDouble ("enter a number,i'll add two to it");
System.out.println(x+2);
}
}
not compiling
and i'm having similar problems using the NumberFormat.getCurrencyInstance() function
is there a certain way to import things in netbeans?
helpppppppppppppppppppp!