Home Tutorialhelp Comment plese tell me

 
 

Comment

Rahu Rathod
plese tell me,
December 28, 2008 at 8:33 PM

plese tell me how to envoke the method in class whose object is stored in vector..........
****************************
base class
{
vod disp();
}
derivedclass1 extends base
{
void disp()
{
}
}
derivedclass2 extends base
{
void disp()
{
}
}

main() class
{
base a;
Vector v=new Vector();
a=new derivedclass1();
v.add(a);
a=new derivedclass2();
v.add(2);
Enumeration e=v.elements();
while(e.hasMoreElements())
{
Object o=e.nextElement();
//how to envoke disp() method //with the help of Object o;

o.disp();

//it gives error //plese tell //me solution of it ..
}
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Java Beginners

plese tell me the control flow of this program
plese tell me the control flow of this program  public class starForTest { public static void main(String [] args) { for (int... k....? plese tell me the control flow 

Java Beginners

Tell me - Java Beginners
Tell me   how to create a valid.js file please tell me and give the write code Thanks  Hi friend, Please give details for requirement of this "valid.js" file. For read more information http 

Framework Questions

i got illegal start of expression error , plese tell me the mistake where i did...
i got illegal start of expression error , plese tell me the mistake where i did...   import org.springframework.context.*; import java.util.*; public class MyListener implements ApplicationListener { public static void main 

Java Beginners

please tell me
please tell me  why we use public static main(String ar){} in java instead of main 

Java Beginners

plz tell me the code & execution process - Java Beginners
plz tell me the code & execution process  Write a program to download a website from a given URL. It must download all the pages from that website... to : http://www.roseindia.net/java/network/ http://www.roseindia.net/java 

Spring Framework Questions

plese tell -Struts or Spring - Spring
plese tell -Struts or Spring  Hello, i want to study a framework. i have some basic overview of Struts1.1 and Strurts 2.0. i don't know much about spring. which frameork i should do Struts or Spring and which version. i 

Java Beginners

tell me coding for this
tell me coding for this  Write an application that displays the integer equivalents of the following character...A   Java get Integer value of Character class GetIntValueOfCharacter { public static void main 

Java Beginners

plz tell me the code & execution process - Java Beginners
plz tell me the code & execution process  Write a program to download... is: "); System.out.println(str); } } For more information on Java network visit to : http://www.roseindia.net/java/network/ http 

Java Beginners

please tell me
please tell me  Actually i am working on a Project tiitle is JavaMail System, 1)How to configure java mail API and a Demo Program for Sending mail and Receiving using JSP and Servlet 

Java Beginners

please tell me
please tell me  what are the topics in core and advaced java.../ http://www.roseindia.net/java/ Thanks   Hi Friend, Please visit the following links: http://www.roseindia.net/ http://www.roseindia.net/java 

Java Beginners

plz tell me
plz tell me  how to get no. of times the 'button' is pressed   Here is a java swing code that counts the number of times the button clicked... CountButtonClicks(); } JButton button1 = new JButton("Click Me!"); int clickCount 

Java Beginners

please tell me about command line arguments in java?
please tell me about command line arguments in java?  please tell me about command line arguments in java?   Hi Friend, The command-line.../java/beginners/cmnd-line-arguments.shtml Thanks 

Java Server Faces Questions

plese help
plese help  i need a program to convert a decimal num into binary num in java language by using array and loop   Java Convert decimal to binary import java.util.*; public class DecimalToBinary{ public static void 

Swing AWT

Software graduates please tell me,
Software graduates please tell me,  How to view image on Frame in swing(or)awt in Java 

Swing AWT

Software graduates please tell me,
Software graduates please tell me,  How to view image on Frame in swing(or)awt in Java 

Java Beginners

Reply me - Java Beginners
Reply me  Hi Friends, Quest:- Tell em what is the difference between java and php, dotnet Quest:- what is the similar point of php and java... Please tell me its very urgent 

Java Beginners

plzz tell me java code for that diamond
plzz tell me java code for that diamond   1 131 13531 1357531 13531 131 1 

Java Beginners

Reply me - Java Beginners
then adll data would be displaying. so please tell me what is incorrect my code and i want to use session in each page then please tell me that how can i 

Java Beginners

help me - Java Beginners
help me   i want to create a login form in java with jdbc connection in ist form there will two label for passworrd and user name and two button... form for new user where name phoneno adress will be there plese i want this   

Java Beginners

Reply me - Java Beginners
in the database... if u understood my question then then please send me code oterwise tell me its urgent package services; import java.sql.Connection; import...Reply me  Hi, this code is .java file but i am working in jsp 

Java Beginners

Reply Me - Java Beginners
Reply Me  Hi Rajnikant, I know MVC Architecture but how can use this i don't know... please tell me what is the use... jsp file and one java file Thanks Rajanikant  Hi friend, MVC : M 

Java Beginners

Reply Me - Java Beginners
,if u not understood then please tell me Thanks    

Java Beginners

Reply Me - Java Beginners
. * JSP * Servlets * Struts 1 * Struts 2 or JSF? Please tell me 

Java Beginners

please tell me what is ment by wrapper class in java........
please tell me what is ment by wrapper class in java........  what is ment by wrapper class in java 

Java Beginners

pls tell me the difference between the run() and start() in threads in java....
pls tell me the difference between the run() and start() in threads in java....  difference between the run() and start() in threads in java 

Java Beginners

plz Help me - Java Beginners
plz Help me  Hi, I want learn struts,I dont have any idea about this plz help how can i make a framework.If u have any information then plz send my personal id plz tell me that whose software installed.and give me brief 

Struts Questions

Tell me - Struts
Directory Structure for Struts  Tell me the Directory Structure for Struts 

Java Beginners

please tell me about command line arguments in java?
please tell me about command line arguments in java?  please tell me about command line arguments in java?   Hi Friend, The command-line arguments are the arguments which are sent to the program being called. You can 

Spring Framework Questions

Pls anyboby tell me...
Pls anyboby tell me...  which book easy to learn spring 

Struts Questions

Tell me - Struts
Struts tutorial to learn from beginning   Tell me, how can i learn the struts from beginning 

Struts Questions

Tell me - Struts
Directory Structure with example program Execution  Tell me the Directory Structure with example program Execution 

SQL Question

please tell me
please tell me  i have created one table,when i close and again login, table name will be there, but its content not displayed, showing as no rows selected, please tell me the reason 

Servlet Interview Questions

please tell me
please tell me  why we are using http protocol in servlets 

SQL Question

please tell me
please tell me  which cmd we use to clear the screen in sql prompt 

SQL Question

please tell me
please tell me  select * from emp order by 5 desc; in the above what is the meaning of 5, and what its functionality 

Java Beginners

please tell me
, but its compiled and run successfully, please tell me the reason...please tell me  class Person{ int age; String name; void Person1(String g,int a){ name=g; age=a; } Person(String s,int i){ name=s; age=i; } void 

Java Beginners

please tell me
(); ^ 1 error tell me the resolution please....   import...please tell me  import java.lang.Thread; class Current{ public static void main(String ar[]){ Thread t = Thread.CurrentThread(); System.out.println 

Java Beginners

please tell me
: '}' expected ^ 2 errors, i got this error....... please tell me the resolution...please tell me  class Person{ string name; int age; void talk(){ System.out.println("my name is"+name); System.out.println 

Java Beginners

please tell me
(10.6,20.0); ^ 1 error, please tell me the resolution for this...   ...please tell me  class Sample{ private double num1,num2; void sample(double x,double y){ num1=x; num2=y; } void Sum(){ double result=num1+num2 

Java Beginners

please tell me
)); ^ 1 error please tell me the resolution of this   Hi...please tell me  import java.io.*; class SString{ public static void main(String ar[]) throws IOException{ BufferedReader br = new Bufferedreader 

Java Beginners

please tell me
; ^ please tell me the resolution   class Reserve...please tell me  class Reserve extends Thread{ int available=1; int wanted; Reserve(int i){ wanted = i; } public static void 

Java Beginners

please tell me
got error as Inner class connot have static declarations pls tell me...please tell me  class Producer extends Thread { StringBuffer sb; boolean dataprodover = false; Producer(){ sb = new StringBuffer(); } public void 

Java Beginners

please tell me
please tell me  class Person{ int age; String name; void talk(){ System.out.println("my name is:"+name); System.out.println("my age is:"+age); } } class Hash{ public static void main(String ar[]){ Person raju=new Person 

Java Beginners

please tell me
please tell me   <tr> <td><html:hidden property="tid" value="${user.id}"/></td> <td><bean:write name="user" property="emp_name"/> 

Java Beginners

please tell me
please tell me  Blockquote Blockquote> BlockquoteBlockquote how to get images from ms access databases to jsp pagesBlockquote   Jsp get image from ms access database Create a table named user(id,name,address,image 

JSP Servlet Questions

please tell me
please tell me  what is the source code if user give wrong user name password the explorer will show incorrect username password   <% String vlname=request.getParameter("lname"); String vpwd=request.getParameter 

Java Beginners

reply me its urgent - Java Beginners
'@'localhost' (using password: YES)" please tell me what is the error....its...reply me its urgent  Hi friends I am facing problem in my application in this type please help me i am using database mysql5.0 version 

Java Beginners

Reply Me - Java Beginners
Reply Me  Hi, This is not correct url please send me again coorect url 

Java Beginners

Reply Me - Java Beginners
Reply Me  Hi All, I want to using query string in my page please write the query string in java script and send me and I have a some link...=13c222b87273340cf002bfba4ab9d045. please reply me fast its urgent 

Java Beginners

Reply me - Java Beginners
Reply me  If u r not understood my just posted question plz let me know  Hi Ragini, Please specify your requirements in detail. It would be good for me to provide you the solution if problem is clear. And also 

Java Beginners

Help me - Java Beginners
Help me  please help me in writing a program in java "A student has a name,roll no., class, home address, date of birth. First dessigne a suitable class for date, write constructor and get and set functions. Then dissign a class 

Java Beginners

Reply Me - Java Beginners
Reply Me  Hi, Please Help Me using jsp technologies I have a form click the link and open the popup window main page have already a html... understood my problem then please send me.....  Hi friend, Please 

Java Beginners

Reply me - Java Beginners
in the place of vend_name Please write this code and send me its very urgent 

Java Beginners

Reply Me - Java Beginners
question then reply me 

Java Beginners

Reply Me - Java Beginners
"code too large for try statement" please help me its very urgent 

Java Beginners

help me - Java Beginners
help me  helo guys can you share me a code about Currency Conversion.Money will convert according to the type of currency.would you help me please... into 2 decimal places sample 1.25) Mexican_________ guys help me..thank 

Java Beginners

Reply Me - Java Beginners
will be not displayed. please help me how it is open selection of the user its very urgent 

Java Beginners

Reply me - Java Beginners
frnd......... again u didnt give me complete details....such as table name 

Java Beginners

Reply Me - Java Beginners
Reply Me   Hi I am sending some code please check it and solve this code is only insert into the data base please insert data in the database table and reply me fast...I got two error 1 is catch is without try 2 is try 

Java Interview Questions

tell me i don't know about cms and history - Java Interview Questions
tell me i don't know about cms and history  what is cms,when can it is used ,what are the advantages and what are the more information about CMS 

Java Beginners

reply me - Java Beginners
 

Java Beginners

HELP ME - Java Beginners
 

Java Beginners

Reply me - Java Beginners
 

Java Beginners

Reply Me - Java Beginners
 

Java Beginners

Help me - Java Beginners
 

Java Beginners

Please tell me how I can access a field (data type char) of resultset in a java class
Please tell me how I can access a field (data type char) of resultset in a java class  I have created a table named empdetails in postgreSql 8.4...("empsex")); as erroneous. There is no method like getChar() also. Please tell me 

Java Beginners

java - Java Beginners
java  hi i have one project is there but im not understaning how its project doing plese tell me how to dothis project. Product Description : This is an excel utility which is used to get the record count 

Java Beginners

With reference to the question " TELL US THE LOGIC OF DICEROLLER"???
With reference to the question " TELL US THE LOGIC OF DICEROLLER"???  Tell us the logic of diceroller 1 Answer(s) 18 minutes and 38 seconds ago Posted in : Java Beginners As told ""The (Math.random()*6)+1 returns the random 

Java Beginners

please tell me the flow of execution of this program
please tell me the flow of execution of this program  class Test{ int x; Test(int x){ this.x=x; } static void access(){ System.out.println("x= "+x); }} class Static{ public static void main(String ar[]){ Test obj=new Test(55 

Java Beginners

plz help me - Java Beginners
plz help me  Deepak I can write a sessioon code plz help me admin_home.jsp page is display but data is not disply plz help me what is wrong 

Java Beginners

provide me code - Java Beginners
provide me code  can any body provide code for SNAKE XENZIA game in NOKIA mobile? please urgently 

Java Beginners

Help me please!!! - Java Beginners
Help me please!!!  im badly needing the complete code for this project in java!!! can you please help me???!!! it is about 1-dimensional array in java! it goes something like this. . . "GRADES" Student 1: Student 2 

Java Interview Questions

Can anybody tell me how to resolve this issue?
Can anybody tell me how to resolve this issue?  java.lang.Exception: Exception : java.lang.Exception: Generic Errors = java.util.MissingResourceException: Can't find bundle for base name Connection, locale en_US 

Java Beginners

Please tell me the code to generate the below structure
Please tell me the code to generate the below structure  1 2 3 4 5 6 7 8 9 1 2 3 4 6 7 8 9 1 2 3 7 8 9 1 2 8 9 1 9 1 2 8 9 1 2 3 7 8 9 1 2 3 4 6 7 8 9 1 2 3 

Java Beginners

hello sir, please give me answer - Java Beginners
hello sir, please give me answer  Write a program in Java that calculates the sum of digits of an input number, prints... ways in java? so , sir please tell me full solution of this program   Here is your complete 

Java Beginners

plz help me - Java Beginners
plz help me  Hi, I want to search all field from database using name, and display in text box, then data is update and delete. i want to search name using alphabets a-z, plz reply fast. plz help me this is very urgent 

Java Beginners

pls. help me - Java Beginners
pls. help me  please help me i do need now if its okay... Consider the method headings: void funcOne(int[] alpha, int size) int funcSum(int...[] list = new int[50]; int[] Alist = new int[60]; int num; Write Java 

Java Beginners

please help me - Java Beginners
please help me   I have some error in this programe //write acomputer programe using java to generate following series : //output: //1,2,3,0,-2,7,-4..... class Series1HW { public static void main(String args 

Java Beginners

Hi .Again me.. - Java Beginners
Hi .Again me..  Hi Friend...... can u pls send me some code...... REsponse me..  Hi friend, import java.io.*; import java.awt....://www.roseindia.net/java/example/java/swing/ Thanks.  I am sending running code 

Java Beginners

plz help me - Java Beginners
give me reponse my persinal given id  Hi ragni, i am sending 

Java Beginners

Can you tell me how it worked?
Can you tell me how it worked?  public class Ball { private static final int DIAMETER = 30; int x = 0; int y = 0; int xa = 1; int ya = 1; private Game game; public Ball(Game game) { this.game= game; } void move 

Java Beginners

plz help me - Java Beginners
 

Java Beginners

Please tell me how can i convert string to timer
Please tell me how can i convert string to timer  Please tell me how can i convert string to timer 

Java Beginners

please help me to give code - Java Beginners
(); } } } ------------------------------- read for more information, http://www.roseindia.net/java/beginners/read...please help me to give code  Write a program that reads a file named famous.txt and prints out the line with the longest length. In the case 

Java Beginners

Tell me where we are using overloading and overriding in realtime project?
Tell me where we are using overloading and overriding in realtime project?  Hi,Tell me where we are using overloading and overriding in realtime project? please give me answer 

Java Beginners

help me for doing project - Java Beginners
help me for doing project  i am handling the project that "email... the email headers and how to display the port and user's information please help me thanks in advance who are going to help me bhanukiran 

Java Beginners

please help me in a java program !! - Java Beginners
please help me in a java program !!  the porgram should use kosaraju's algorithm to detect the strong connected components in a graph (http://en.wikipedia.org/wiki/Kosaraju_algorithm) there are 4 classes in my program : Vertex 

Java Beginners

java, plz help me in doing this - Java Beginners
java, plz help me in doing this  # Write a small record management application for a school. Tasks will be Add Record, Edit Record, Delete Record.....giving me the error of NoClassDefFoundError 

Struts Questions

does anybody could tell me who's the author - Struts
does anybody could tell me who's the author  does anyone would tell me who's the author of Struts2 tutorial(http://www.roseindia.net/struts/struts2.... would you please tell how could I contact with the author ? thanks 

Java Beginners

Help me on database connectivity in J2ME - Java Beginners
Help me on database connectivity in J2ME  i want help in J2ME. i want code for database connection with MySQL. spcl to fecth and insert data from databse. please help me 

Java Beginners

Plz help me in writing the code - Java Beginners
Plz help me in writing the code   Write a two user Chess Game. (users must be on different systems 

Java Beginners

Plz help me in writing the code - Java Beginners
Plz help me in writing the code   Write a two user Chess Game. (users must be on different systems 

Java Beginners

please help me to give code - Java Beginners
please help me to give code  Write a function with a signature cheerlead(word) that prints a typical cheer as follows. The word robot: Gimme an R Gimme an O Gimme a B Gimme an O Gimme a T What did you give me? ROBOT 

SQL Question

i have problem with this query... please tell me the resolution if this .........
i have problem with this query... please tell me the resolution if this .........  select length(ename)||' charecters exist in '||initcap(ename)||'s name' as "names and length" from emp 

SQL Question

i have problem with this query... please tell me the resolution if this .........
i have problem with this query... please tell me the resolution if this .........  select initcap(ename),job from emp where substr(job,4,length(job,4,3)))='age 

Java Beginners

Any one can help me? - Java Beginners
Any one can help me?  CAN any of u help me to do this java codes for the interface given below? thanku the user will be given jumbled words of animals at first. Each correct answer will be given 5 points. 5 points 

Hibernate Questions

Please tell me where I can find tutorials on spring hibernate?
Please tell me where I can find tutorials on spring hibernate?  Hello, Please tell me where I can find tutorials on spring hibernate? Thanks..   Dear Friend, You can find some good tutorials on Spring Hibernate here 

Struts Questions

Can anybody tell me how to use #parameters in struts 2 ?
Can anybody tell me how to use #parameters in struts 2 ?  I have a login page, And by using struts.xml and #parameters I want to display error.../Login.jsp Its urgent. Pl help me out 

Java Beginners

Send me Binary Search - Java Beginners
Send me Binary Search  how to use Binary think in java give me the Binary Search programm thx..  Hi friend, import java.io....)); } } ----------------------------------------- Read for more information. http://www.roseindia.net/java/ Thanks 

Java Beginners

please help me to give code - Java Beginners
please help me to give code  Write a program that prints an n-level stair case made of text. The user should choose the text character..., http://www.roseindia.net/java 

Advertisements Advertisements
 

 

 

DMCA.com