vishnu hiranamayee

Greenhorn
+ Follow
since Feb 23, 2006
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 vishnu hiranamayee

can you please forward to me at sunitha.hari@gmail.com

Thanks in advance
vishnu
Constructor can access both static and non static fileds of a calss.
Hi venkat ,

monday i completed my exam , i will help u.
plz give me ur mail id.
your mail id is not there in your profile.

regards ,
Vishnu.
For a class definition only public, abstract & final are permitted.
we use synchronized modifier for only methods and blocks.

Thanks
Vishnu
Hi
code below is giving me error :
java.lang.ClassCastException
at Example.main(Example.java:28)
Exception in thread "main"


class Abs
{
void m()
{
System.out.println("hellooo11111111");
}
}

public class Example extends Abs {

public static void main(String args[])
{
Example a = new Example();
Abs abs = new Abs();
Example a1 = (Example) abs; // why is this giving error?
a1.m(); //can't we cast like this.



}
void m()
{
System.out.println("hellooo");
}
}
Hi,

The problem is I want a solution to convert excel file into an image, i.e., an application which should read an excel file (some range of cells) and save it as an image (jpeg, bmp).
I am trying by using POI but it is not capturing the data in the image.


Regards
vishnu
16 years ago
public synchronized Object set(int index, Object element) {}

But in the API of vectors only
Object set(int index, Object element)
is given .

if we give
public synchronized Object set(int index, Object element) {}
then arraylist will also be synchronized?
Then what is the differnece between vector and arraylist?
16 years ago
public synchronized Object set(int index, Object element) {}

But in the API of vectors only
Object set(int index, Object element)
is given .

if we give
public synchronized Object set(int index, Object element) {}
then arraylist will also be synchronized?
Then what is the differnece between vector and arraylist?
16 years ago
Hi
Both vector and arraylist are growable arrays and the differnece is vector is synchronized and arraylist is not synchronized.
How is synchronization done in vectors.
Hi
Both vector and arraylist are growable arrays and the differnece is vector is synchronized and arraylist is not synchronized.
How is synchronization done in vectors.
16 years ago
Hi
what is the difference in using synchronized method and synchronized block and also using static with synchronized keyword?
Hi Petrus Pelser,


thanks for ur reply .
so =+ and += are no way related to polymorphism?
correct?

Regards ,
Vishnu.
If you use '=+' it has the same effect as '='. The '+' is then evaluated on its own.

There is no '=+' op.


i did't get what u were trying to explain
Hi all ,
please let me know the difference between "+=" and "=+" and which one is the best one to go for.




Thanks in advance
Vishnu
assertion is added in java's 1.4 version then why will we get a complier error in 1.4.
please let me know.
16 years ago