Yes....the program isn't showing me anything at all.. its not asking me anything....when I run..it just shows... BUILD SUCCESSFULL..(run time: 0 seconds)
Type: Posts; User: Fanta Hubert
Yes....the program isn't showing me anything at all.. its not asking me anything....when I run..it just shows... BUILD SUCCESSFULL..(run time: 0 seconds)
import java.util.Scanner;
class Balance
{
Scanner sc=new Scanner(System.in);
int bal;
void balc()
{
System.out.println("\n Enter the Amount : ");
...
EXACTLY...!!!! exactly........any idea how to do tht..??
I used to have an object array for it in c++... well im zero abt it in java....please help me out..
import java.util.Scanner;
class A
{
double bp,da,hra,gp;
int pf,ca;
void professor()
{
bp=37000;
da=0.4*37000;
hra=10000;
do I have to add tht before and after my code to convert it to a presentable form?
and how do I use code tags and full stack trace?
and how do I do tht??
this is my coding.......
import java.util.Scanner;
class A
{
double bp,da,hra,gp;
int pf,ca;
void professor()
{
bp=37000;
import java.util.Scanner;
class A
{
double bp,da,hra,gp;
int pf,ca;
void professor()
{
bp=37000;
da=0.4*37000;
hra=10000;
ummm... actually wat I meant was not ecaxtly this.... its like.... I access a class repeatedly using an object..and I want to store each access to the class in an array of the object tht I created...
hi...im just running over some programs in java inheritance... and i so desperatly need to use array of objects for acesing some of my subclasses.....ive done this in c++ ,....well i guess its not...
Hi.... im just trying out some new programs using inheritance... can sumone pleeassee teme how to use array of objects in java??? ive donw it in c++ but i guess its no tthe same here in java...can...
hi everybody... im a new member... so please help me out here...