Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!

shital sonavane

Greenhorn
+ Follow
since Jan 28, 2011
shital likes ...
Eclipse IDE Java
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
5
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by shital sonavane

Agree with Winston. We are here to discuss what is POJO? And is it good practice to add getters and setters in POJO.
3 years ago
But in that article he has given reference of Alan Kays Definition Of Object Oriented....
3 years ago
I read somewhere that POJO class should not contain getter setter methods. Below is the quote,

Mutable Data Structure is something which gives you a provision to add edit data in it. so the opposite of data structure is an Object.
Object doesn’t gives you a provision to edit its state (only in extreme conditions you do that, when no options left). Object gives behavior.
Frameworks like JEE frameworks, spring, Hibernate and others gives a false definition of POJO (mixing it with JavaBeans). i.e. a class having private fields and getter setter methods. Basically these are Data structures and not Objects.



I am confused with these statements about using getter and setter methods in my code. Can someone correct my understanding about using POJO's in java code.
3 years ago
Hi,
I want to handle the interactive command using java. Dont know how to do this.

For example i am executing command -su on linux machine. after this command execution we need to enter the password.
This is the example not the exact command.

Please suggest me the solution.

Thanks in advance.

7 years ago
Hi all,
Please clear my query.

suppose i have one class which contain two methods a() and b() from which a() is static synchronized and b() is non static , synchronized.
Now my one thread is trying to access both the methods at same time. how the code will behave???

Thanks in advance.
8 years ago
Hi all,
Can anyone explain me the difference between == and equals() method?

Thanks in Advance
This is the code i am using to convert date into long.

8 years ago
hey guys thanks. i found the solution.
I did this using .
8 years ago
How to change JVM's timezone in CentOS.
Please guide me.
Thanks in advacne.
8 years ago
I am saving date by converting it into long and while doing this i am getting problem. because when date is converted to long it is considers the timezone.
Therefor i want to change my systems timezone for data conversion according to SGT timezone.
8 years ago
Hi all,
I want to change my JVM's timezone from IST to SGT. My Operating System is Centos. Please guide me for this....
Thanks in advance.
8 years ago
I found it. The answer is str.replaceAll("\\?","\\\\?").
9 years ago
9 years ago