Home Tutorialhelp Comment i read those questions.it is very useful for me.

 
 

Comment

kanivalavn
i read those questions.it is very useful for me. ,
January 30, 2007 at 3:08 PM

i read those questions.it is very useful for me.
i have doubt following program.can u plz clear for me.
my question is
private class A
{
void kani()
System.out.println("kani");
}
public class B extends A
{
void valavan()
System.out.println("valavan");
}
class C
{
public static void main(String args[])
{
A a=new A();
B b=new B();
a.kani();
b.valavan();
}
}
i was not able to run this program.when i ru n this program some error appear.can u tell me what mistake i made and then what is difference between public , private,protected and default,
View All Comments
Advertisement
Related Tutorial and Articles
Java Beginners

corejava
corejava  Creating the object using "new" and usins xml configurations whih one is more useful?why 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
;    Q 1 : How should I create an immutable class ? Ans... dynamically at runtime.    Q 4 : How can I call a constructor from... programming language, Marker interfaces are those interfaces that don't have any 

Java Beginners

corejava - Java Beginners
corejava pass by value semantics  Example of pass by value semantics... arguments to the method call is passed to the method as its parameters. Note very... is="+a); } static void prm(int a){ a=6; }}----------------------------read 

Java Beginners

corejava - Java Beginners
corejava  hai this is jagadhish. I have a doubt on corejava.How many design patterns are there in core java? which are useful in threads?what r...{ for(int i = 1;i <= 10;i++) { System.out.println(i 

Java Interview Questions

corejava - Java Interview Questions
=1900; var maxYear=2100; function isInteger(s){ var i; for (i = 0; i < s.length; i++){ // Check that current character is number. var c = s.charAt(i); if (((c < "0") || (c > "9"))) return 

Java Interview Questions

Corejava - Java Interview Questions
another BigDecimal 5. Read an input file and find the occurences of lines...); } for(int i=0;i 

JSP Servlet Questions

Very Very Urgent -Image - JSP-Servlet
Very Very Urgent -Image  Respected Sir/Madam, I am R.Ragavendran.. I am working with JSP and JDBC.. In the home JSP page, there is a button... with some coding, its better.. PLEASE SEND ME THE CODING ASAP BECAUSE ITS VERY VERY 

Java Server Faces Questions

very urgent - Java Server Faces Questions
very urgent  Hi sir, yesterday i send total my code to find where i... the tags form my code,i removed those tags and i excuted that. Still the desired... check it once and give me a correct solution. It is very urgent for me. Thanks 

Java Beginners

CoreJava Project
CoreJava Project  Hi Sir, I need a simple project(using core Java, Swings, JDBC) on core Java... If you have please send to my account 

SQL Question

Ple help me its very urgent
Ple help me its very urgent  Hi.. I have one string 1)'2,3,4' i want do like this '2','3','4' ple help me very urgent 

JSP Servlet Questions

I am getting Undefined in Text Box Very Urgent - JSP-Servlet
I am getting Undefined in Text Box Very Urgent  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your superb reply. I got the coding. But I find a simple problem which i hava tried my level best to solve. A pop up window 

PHP Questions

Answer me ASAP, Thanks, very important
Answer me ASAP, Thanks, very important  Sir, how to fix this problem in mysql i have an error of "Too many connections" message from Mysql server,, ASAP please...Thanks in Advance 

JSP Servlet Questions

how to read the values for text and csv files and store those values into database in multiple rows..means one value for one row
how to read the values for text and csv files and store those values into database in multiple rows..means one value for one row  Hai, I need... file.it was stored in perticular directory now i have to read the stored(.csv 

JDBC Questions

its very urgent please help me
its very urgent please help me  how can i retrieve all images from ms access database and display in jsp pages 

Java Beginners

The second Question is very tuff for me - Java Beginners
The second Question is very tuff for me   You are to choose between two procedures, both of which compute the mini-mum value in an array of integers... min = num[0]; for (int i=1; i< min) { min = num[i 

JSP Servlet Questions

Program Very Urgent.. - JSP-Servlet
Program Very Urgent..  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your superb reply. I got the link you sent. But I find a simple problem which i hava tried my level best to solve.In the output, the text box 

Java Beginners

How to read every cell of an excel sheet using Apache POI and insert those data into a DB?
How to read every cell of an excel sheet using Apache POI and insert those data into a DB?   i have an excel sheet, whose data in each cell has to be read and those data has to be inserted in the DB. This has to happen for all 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
;    Q 1. How can I get the full path of Explorer.exe.... : How do I limit the scope of a file chooser? Ans : Generally FileFilter is used..., statements, rather than vendor-specific classes.    Q 6. How can I insert 

Programming Tutorials

Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
;    Q 1. When should I use the abstract class rather... use the equals method to make an exact match.    Q 3. How can I get...;, "myPassword"); Q 5. How can I implement the Class.forName 

Technology

How is LBS useful?
when one is traveling such that where am I? What is around me? Where... How is LBS useful?      ... of LBS service is useful for users when they find themselves in an unfamiliar 

Java Beginners

Read from file java
Read from file java  How to Read from file java? What is the best method for a text file having a size of 10GB. Since i have to process the file one line at a time so tell me the very best method. Thank you 

Java Beginners

very urgent, want to submit my project on monday
very urgent, want to submit my project on monday  i have the code for connected combo-boxes(jsp). But the thing i want to know is, how to access the values selected in those combo-boxes, for storing in database. in the case 

JSP Servlet Questions

Pop up Very Very Urgent - JSP-Servlet
Pop up Very Very Urgent  Respected Sir/Madam, I am R.Ragavendran.. I got your reply.. Thank you very much for the response. Now I am sending...='' Its Very Urgent.. Please send me the coding asap.. Thanks 

JSP Servlet Questions

Help Very Very Urgent - JSP-Servlet
Help Very Very Urgent  Respected Sir/Madam, I am sorry..Actually the link u have sent was not my actual requirement.. So,I send my requirement... contains all the ID's present in the database.. When I click or select any 

JSP Tutorials

JSP Tutorials Resource - Useful Jsp Tutorials Links and Resources
by progressing from very simple examples to complex examples. For best progress... working.  The early examples might seem very simple; please have patience... is useful (and commonly done) for a number of reasons: The Web 

RMI Questions

very urgent : Iam unable to code this program plz help me - RMI
very urgent : Iam unable to code this program plz help me  Write a Multi-user chat server and client.  Hi friend, Chat server... and every client. For read more information on chat server visit to : http 

Java Server Faces Questions

very urgent - Java Server Faces Questions
very urgent  Hi sir, see my code and please tell me mistake. it is very urgent for me. here is my code: addmin.jsp: Users... deepak@roseindia.net 8888 deepak kumar It is very urgent for me please give 

JSP Servlet Questions

Radio Buttons in DB Very Urgent - JSP-Servlet
Radio Buttons in DB Very Urgent  Respected Sir/Madam, I am R.Ragavendran.. I got your reply.. Thank you very much for the response. Now I am sending the code.. Here When I click "View Database" Button,a JSP Page containing 

JSP Servlet Questions

Popup very urgent plz - JSP-Servlet
Popup very urgent plz  Respected Sir/Madam, I am R.Ragavendran.. I got your reply.. Thank you very much for the response. Now I am sending the code...='' Its Very Urgent.. Please send me the coding asap.. Thanks/Regards 

Software Services

Outsourcing Communication Tips,Useful Cultural Tips in Offshore Outsourcing,Communication and Culture Tips
into difficulties due to communication problems. The trend is very prominent in both... skills of your team members, especially those doing leadership, management... for all the parties. Also train those in leadership and co-coordinating 

Java Beginners

Very new to Java
Very new to Java   hi I am pretty new to java and am wanting to create a programe for the rhyme 10 green bottles. 10 green bottles standing... actually help me with this that would be great 

JSP Servlet Questions

Simple Program Very Urgent.. - JSP-Servlet
Simple Program Very Urgent..  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your superb reply. I find a simple problem which i have tried my... other than Emp ID and Emp Name. You told me to set the value of Emp_ID and Emp 

Java Magazine Questions

xl read
xl read  hi, i have read excel sheet data using poi api and printed on console, now i have to store the same data which is printed on the console into the database... please help me   Please visit the following links 

Java Beginners

corejava - Java Beginners
----------------------------------------------- Read for more 

Java Beginners

CoreJava - Java Beginners
core java an integrated approach   I need helpful reference in Core Java an integrated approach 

Java Interview Questions

corejava - Java Interview Questions
corejava  how to merge the arrays of sorting i want source code...(String a[]){ int i; int array[] = {12,9,4,99,120,1,3,10}; System.out.println("Values Before the sort:\n"); for(i = 0; i < array.length; i 

Java Interview Questions

corejava - Java Interview Questions
Core Java vs Advance Java  Hi, I am new to Java programming and confuse around core and advance java 

Java Beginners

corejava - Java Beginners
is : " + ntw.convert(num)); } } For read for more information 

Java Beginners

Java read lines from file
Java read lines from file  Any code example related to Java read... and splitting the command separated data and saving into database. I know how to split the line and save into database. But I am trying to find code example 

Java Beginners

read xml
read xml   hi all, i want to ask about how to read an xml in java ME...;/data> i try to use the W3C DOM, but when i try to get the childs of the first value node after the data node, i just can get only 1 struct but not 2, how 

XML Questions

how to read this xml file - XML
read i have tried lot more , but i am not able to read this xml file as i want. So, please help me for this, i will be very thankful to u. Thanking...how to read this xml file  i want to read this xml file using java 

Struts Questions

to read data stored in ArrayList - Struts
to use it. if you know this , please send me the answer. i well be very grateful to u...to read data stored in ArrayList  this is regarding struts2, i have... them from database. Now i want to read the data of all 4 User objects from jsp 

Java Beginners

CoreJava
 

Java Interview Questions

corejava
 

Java Beginners

file read
file read  hi i am reaing from a file which has punjabi words. can some one help with me some code 

Java Beginners

please i want someone to answer me pleeeeeeeeeeeeease...
please i want someone to answer me pleeeeeeeeeeeeease...    Write a JAVA program using 2D array to auto-grade exams. For a class of N students, your program should read letter answers (A, B, C, D) for each student. Assume 

JSP Servlet Questions

JPQL helpppppp please very important
JPQL helpppppp please very important   there are 3 tables: book: isbn title loan: isbn borrowerId borrower: borrowerId FirstName LastName I... by anyone Could anyone help me help me please with the Query 

JavaScript Questions

how to read and write xml files in javascript
how to read and write xml files in javascript  hi m very new to javascript and xml,, now i want to read and write xml files in javascript,, please give me a sample code to do 

Java Tips and Examples

Read page from Web server
network I/O at the very low levels (eg, ICMP), but this is not a problem...) The we have used the BufferReader class to read the data in buffer c) Finally... me) { System.out.println(me); } catch 

Java Beginners

reading the records from a .xlsx file and storing those records in database table
reading the records from a .xlsx file and storing those records in database table  Here is my requirement, I want to read the records from a .xlsx file and store that records in database table. I tried like this public class 

Java Beginners

Very Big Problem - Java Beginners
Very Big Problem  Write a 'for' loop to input the current meter... with the following conditions(all must be fulfilled in one class only): (i)if unit(current... by the person who comes to read the meter and compute the bill)= Rs.50(it is compulsory 

EJB Questions

Please guide me sir - EJB
Please guide me sir  Hi I am Pradeep singh ,done SCJP 5.0 and SCWCD 5.0 .Now i want to learn further .So please tell me whether should i learn EJB... next? Because both can do same work.Please advice me .At present i am jobless 

Ajax Questions

help me
help me  hi sir pls tell me how to use ajax form validatin from very simple way with two ot three text field pls help me use ajax in php my email id is:- rohit11tripathi@gmail.com pls sir give me some vasic information i know 

JDBC Questions

Help me
Help me  hello!!!!. i have a Excel file which includes 4 columns and somewhat 8500 rows.these rows i have printed in SQL thru Excel file and i have 1 MYSql database which includes all those 4 fields i have defined in excel file 

Java Beginners

plz help me - Java Beginners
is true...but i very confuse that how it is not displayed admin page plz any one give me reponse my persinal given id  Hi ragni, i am sending...plz help me  Thanks deepak continue response..i face some problem i 

JDBC Questions

Please help me... its very urgent
Please help me... its very urgent  Please send me a java code to check whether INNODB is installed in mysql... If it is there, then we need to calculate the number of disks used by mysql 

Java Beginners

How to Read a file line by line using BufferedReader?
developers. I have studied java very well in last few months. A work is assigned to me in my company. Here I have many big text files. I have to read these files... problem is to find the best way to read the file in Java. I just searched the google 

Java Beginners

Read Video File
Read Video File  how to read a video file, after that i want to encrypt and decrypt it. please help me and if u can send me some hint or source code on swarit.it@gmail.com Thanks & Regards Swarit Agarwal 

Hibernate Questions

Why Dose Hibernate Run Very Slow?
.... in GlassFish of netbean, web of me run very slow. I have configure Hibernate....... in GlassFish of netbean, web of me run very slow. I have configure Hibernate...Why Dose Hibernate Run Very Slow?  I use Hibernate in netbean 6.9.1 

Java Tips and Examples

Java Read File Line by Line - Java Tutorial
. ADS4ThUnitADS The Java I/O Package Examples is also very help full for anyone.... This class is very useful in reading the file line be line in Java very easily. You... Java Read File Line by Line - Example code of reading the text file 

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... Hibernate Spring Example Also you can read about Hibernate 4 Thanks 

Java Beginners

tow method to read and write .
tow method to read and write .  i have two method , frist named... "writeString" which accept b as imput and return nothing .........please i want solution this program ....help me please 

Java-Tutorials

How to read big file line by line in java?
In this tutorial I will explain you how you can read big file line by line... is very useful in reading big file line by line in Java. In this tutorial we... will be able to read big size such as 5GB, 10GB or more. Many times you may have 

Design concepts & design patterns Questions

very urgent - Design concepts & design patterns
very urgent  Hi friends, I have a page layout with a menu... effect is all messed up in server system. How can i fix this : I only have control over the CSS not the HTML itself Thanks in advance.Give me solution 

JSP Servlet Questions

Basic problem but very urgent - JSP-Servlet
Basic problem but very urgent  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your superb reply. I got the link you sent. But I find a simple problem which i hava tried my level best to solve.In the output, the text box 

JSP Servlet Questions

Programming help Very Urgent - JSP-Servlet
Programming help Very Urgent  Respected Sir/Madam, Actually my code... present in the database.. When I click or select any of the ID,it automatically..... Now what I require is: When I click or select any of the ID from Combo box,both 

Java Server Faces Questions

&nbsp;(very urgent) - Java Server Faces Questions
; In the above code is there any way i can replace all those " " with a single sign... (very urgent)  hi friends, This is my code in JSF             

Design concepts & design patterns Questions

&nbsp;(very urgent) - Design concepts & design patterns
 (very urgent)  hi friends, This is my code in html...;     In the above code is there any way i can replace all those " " with a single sign or character. thanks in advance 

Hibernate Questions

hi i m new to hibernate..plzzzzzzzzzzzzzz help me.... - Hibernate
hi i m new to hibernate..plzzzzzzzzzzzzzz help me....  hi friends i m new to hibernate..& i m stuck in one positon in my pgm.. its a simple select query which i wan to run...with oracle thin database connection 

JSP Servlet Questions

JSP,JDBC and HTML(Very Urgent) - JSP-Servlet
exact requirement in which if I get an immediate help,I will be very much grateful to ROSEINDIA team.. This is Very Urgent. Plz Plz send me the coding ASAP...JSP,JDBC and HTML(Very Urgent)  Respected Sir/Madam, Thanks 

Java Beginners

READ DATA - Java Beginners
READ DATA  i still don't understand, i have a data like... = new BufferedReader(new InputStreamReader(in)); String strLine; //Read File Line...; // "I dont know what is the complete source code here" }catch 

JSP Servlet Questions

Simple problem Very Urgent - JSP-Servlet
Simple problem Very Urgent  Respected SDir/Madam, I am R.ragavendran.. Thanks for your superb reply. I got the coding. But I find a simple problem which i hava tried my level best to solve. A pop up window is opening 

JSP Servlet Questions

Validating Number Very Urgent - JSP-Servlet
Validating Number Very Urgent  Respected Sir/Madam, I am R.Ragavendran.. I want u to insert the coding for validating number in the place of Emp ID text box.. I am sending the code for your kind reference which tends you 

Software Services

Tips for Successful Outsourcing,Useful Tips of Successful Outsourcing,Tips and Techniques for Successful Outsourcing
to those expectations... and meetings should focus on the goals achieved and those yet to be achieved. New 

JSP Servlet Questions

Very urgent Image Selection - JSP-Servlet
Very urgent Image Selection  Respected Sir/Madam, I am R.Ragavendran.. If you are telling that your coding works fine, then can u plz tell me or send me the output of the following code asap? var imageURL 

XML Questions

Read XML in java - XML
Read XML in java  Hi Deepak, I want to read a xml file which have... nikumbh i tried to solve the problem but failed.the program which i hav developed shows only first record ie. only Tom Cruise. please give me 

WebSevices Questions

How to read yahoo mail using java mail api - WebSevices
as provide me some code so that i can understand it....i will be very thank full  ...How to read yahoo mail using java mail api  Hi there .... i wanted to know how to read mail from yahoo using pure java code. Is there any one who can 

Java Beginners

i/o
i/o   Write a Java program to do the following: a. Write into file the following information regarding the marks for 10 students in a test i... for the test You can come out with your own test data. b. Read the data from 

Software Services

Offshore Outsourcing Tips,Useful Offshore Outsourcing Tips,Helpful Outsourcing Tips
very little of. Selection of associates can be very tricky 

Mobile Applications Questions

Read file zip in J2ME - MobileApplications
Read file zip in J2ME  I would like to read file.zip in J2ME,I don't know how to extract it. Please help me 

Java Beginners

how to write and read text for javaME
how to write and read text for javaME  Hi. I have tried ur read... from the library? i want to type multiple line on text file then, read it from java me coding.. can u helps me? it is urgent. i have to submit this project 

PHP Tutorial

Why Web Development with PHP Is Useful
. The PHP language is very easy for a search engine to read. This comes from how... easy for a search engine to read. Also, PHP can work on more servers than other.... The code is very easy to use because it is not going to be too crowded 

Java Beginners

Reply Me - Java Beginners
project deadline is very near this code i am using then i got the some error "code too large for try statement" please help me its very urgent...Reply Me  Hi Amardeep I am sending database table name,code 

Java Beginners

To read a excel with chart - Java Beginners
To read a excel with chart   Hi, I need to read the data in an excel which is in chart format using java. when I directly change the extention of excel file to CSV i am not getting the data in the chart.Please help me 

JUNIT Questions

Read Property file From Jmeter
Read Property file From Jmeter  Hi, I am running web driver script from Jmeter, but while reading property file I am getting "File Not Find Exception". Please tell me how to read ".properties" file from Jmeter 

Struts Questions

Reply Me - Struts
Reply Me  Hi Friends, I am new in struts please help me... file,connection file....etc please let me know its very urgent   Hi Soniya, I am sending you a link. This link will help you. Please 

Java Beginners

Reply me - Java Beginners
and i want to use session in each page then please tell me that how can i...Reply me   Hi, I am using this code for session but i am... will be not displaying, and i am calling with .html extention means admin_home1.html 

Java Beginners

provide me the program for that ques.
provide me the program for that ques.  wtite a program in java there is a class readchar.the functionality of this class is to read a string from...=input.nextLine(); char ch[]=st.toCharArray(); for(int i=0;i<ch.length;i 

Java Beginners

Reply me - Java Beginners
in the place of vend_name Please write this code and send me its very urgent...,vendor_name All fields are input manualy but i want this vendor_name take 

Java Beginners

Reply Me - Java Beginners
:but i can click update button selection of the user updation page will be not displayed. please help me how it is open selection of the user its very urgent 

Hibernate Questions

Please..please provide me a good Hibernate in Spring example
hope the following links would be very useful to you: Hibernate Spring Example...Please..please provide me a good Hibernate in Spring example  Hi, Can anyone please provide me a Hibernate in Spring example with simple explanation 

Java Beginners

reply me - Java Beginners
addform.jsp is display with fetching data in all text box I m sending code before 5... immediately its very urgent Thanks & Regard 

Java Tips and Examples

File I/O - Text Files
Java NotesFile I/O - Text Files Java can read several types of information... to extract data from the lines. java.util.Scanner is very useful for parsing.... File inFile = new File(in.next()); // File to read from. File 

Hibernate Questions

Can you give me some good factory pattern examples?
Can you give me some good factory pattern examples?  HI, I am looking for some factory pattern examples to learn about them, if you can point me towards some of the examples that would we very helpful. Thanks   Hello 

HTML Questions

very important - Kindly help
very important - Kindly help   I am creating web page for form registration to my department ..I have to Reprint the Application Form (i.e Download the PDf File from the Database ) , when the user gives the Application number 

Java Beginners

Read data again - Java Beginners
Read data again  sir, i still hav a problem,first your code will be change like this : in netbeans out message error 5. Can you help me again. My... = DriverManager.getConnection("jdbc:odbc:hyt","root","suprax"); //Read File Line By Line 

Java Beginners

Read bufferedreader
Read bufferedreader  Tell me the example of Read file using bufferedreader. Thanks   Read the tutorial Reading file using BufferedReader class. Thanks 

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... class (which contain your database information). Check previous I send U two 

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...: sample I input DOLLARS (so the user must choose a currency if dollars ,swiss 

Java Beginners

How to store two integer value in a separate file and retrieve those values
How to store two integer value in a separate file and retrieve those values  I need to save two values so i can use those values later i came up with idea of saving those values in a separate file and updating values in file 

Advertisements Advertisements
 

 

 

DMCA.com