sachin potu

Greenhorn
+ Follow
since Oct 22, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sachin potu

try doing this.setBackGroudColur()
13 years ago
if your website consists of only HTML / images / PHP / MYSQL , do not go for paid hosting, go for free one
13 years ago
trying in Singapore is waste of time , instead shift a job in India you may get any where between 6 - 12 depending on position, skill set and location
13 years ago
try overriding equals and hash code, may be this can help you
truly speaking , from India getting job in Singapore is very difficult.

if you have Certifications , MS from UK or US top university, and 3+ years of experience then its different case
13 years ago
as we realize the value of time once we spent it,

similarly we will know the value of life once we die,

after wasting the time and realizing its value is of no use, time will never come back

similarly , after wasting the life and realizing its value after dying is also of no use.

Moral : Realize the value of life before dying

Some realize and spend the life in a very useful manner, --->> Most intelligent persons

and some realize and spend the life still in wasteful manner -->> most foolest persons

some are the people who donot realize its value before dying -->> i do not know in which category they fall

and according to my knowledge Everyone explains this question by concentrating on some kind of Divine or religious topics -->> i may be wrong

lets classify the Religions

Religions are classified in two category - ( based on what they worship)

MY INTENTION IS NOT TO HURT ANY ONE

1. IDOL worship religions (Example Hindhu , Christians etc etc )
2. Non IDOL worship religions ( Example muslims only one i can get)

finally i Say Worship the Creator, not the Creation, think a lot before following anyone
13 years ago
if you get a Null pointer exception, it will tell you the line number on which you are getting the Exception

you need to analyze that line and check , if any of the variable holds a null reference,

and rest you need to think
in bangalore 5+ years are getting 12 , you should need to bargain if any one offers, if you donot ask them or demand why they will give you the good package,
13 years ago
if i am not wrong , At that time you cannot do any thing, except having two different implementations.

like, HorseImplAnimal and HorseImplBird
when you try to sort, these values will be used

Astha Sharma wrote:Multiple inheritance in not allowed in java. I now the reason, its because it might be a case that two super classes of a subclass may have methods with same name and thus ambiguity arises when these methods are called.
This can happen with interfaces also, but still it is allowed to a class to implement multiple interfaces!!!
My actual problem is in this code-

ERROR because eat() is defined two times in the class Horse.
now please tell me how to resolve error in this code?



If you define the same method in two interfaces, make sure that return type also is same, or else it will not get compiled

Paul Clapham wrote:

sachin potu wrote:if you collect all the countries and state the js will not be more than 50 KB i guess



I would say you are underestimating. Probably you haven't thought about it at all but just picked a number out of the air which made your argument sound plausible. But on the other hand we don't know whether the actual requirement was all countries and all states anyway, so the point is really irrelevant.



if you go to Contries.js and download the file its not more than 70 kb

Raju Marreddi wrote:Hi,
I want to write SCJP exam.I have prepared for this, But recently it has changed to 1.6.
Please help me out which verson of the exam i have to write?
either 1.5 or 1.6?
which is useful for my carrier?
any one please do the needful.

Regards
Raju



wait for a month 1.7 will be realeased, but i recommend 1.6
13 years ago

Eric Pascarello wrote:

sachin potu wrote:yes ajax means, for every change event fired an request will be sent to the server and the response need to processed , and the output is shown.
if your list of country's, state is small you can write a servlet , which generates one js file, and include this js file in the page and get the data
or you can directly put all the Country's and states in one js file, as the Country's or state's very rarely changed



You really want to have to download that huge file? That is a bigger hit in performance than going to the server for small chunks.

Eric



if you collect all the countries and state the js will not be more than 50 KB i guess, and downloading an 50kb in this advanced world is not a big issue, today the servers are really fast and bandwidth is also bigger, once the js is downloaded the browsers will maintain the js file in cache, so if you think like this , this is not an bad idea

and one thing we can keep in mind is the countries and states change very very rarely
are you directly reading file from the Applet -->> this will work but you need to change java security policy file
if you have an upload button in your applet , then it should work without any problem
13 years ago