Aryan Jain

Greenhorn
+ Follow
since Mar 01, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aryan Jain

Hello friends..
I m new to JSP.
I want to write a simple HTML file which consists of 2 select tags in which 2nd select tag value depends on 1st select tag in javascript.

please help me.
Thank you in advance.
Thank you....
11 years ago
Thanks for your quick response.

i have declared ProjectAllowance in Manager class which extends CompanyEmployee class
11 years ago
Hii...

I am getting class not found error while executing a program.
List of files
ClassMain.java

Manager.java,Clerk.java,SalesPerson.java,Employee.java these 4 classes extends CompanyEmployee.java

In ClassMain.java
i have created a subclass object using superclass reference like this
CompanyEmployee employeeTwo = new Manager();
employeeTwo.setAllowance(1000);

setAllowance is a method in Manager.java

while compiling i am getting
error cannot find symbol
employeeTwo.setAllowance(1000);

I have checked spelling of functions in both the files but their is no mistake.
So,please reply me.

Thanks in advance.
11 years ago