anuj thite

Ranch Hand
+ Follow
since Apr 14, 2009
Merit badge: grant badges
For More
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by anuj thite

Hi,
Hello all Forum Members,
I have some programming Experience.
But, Not interested in continuing it in future as a career.
Now, I want to make a career in Software Testing Field.
I want to start learning Software Testing from basics.
Can anybody in this forum Suggest me some good and basic level books or websites.
Please Guide me in this.
Your Help is really appreciated.
Thanks in advance.
12 years ago
Hello all Forum Members,
I want to display some HTML and css based pages on web which displays personal information.
Could you please suggest me any free web hosting site, for uploading my pages on web.

Thanks in advance.
13 years ago

Suhrid Karthik wrote:Implement a Java equivalent of the Tree command.



Thanks Mr. Suhrid Karthik for the idea.
13 years ago

Mohamed Sanaulla wrote:Cohesion is the degree to which the class is focused one its responsibilities- Highly cohesive classes are desirable.

Lets consider this situation: We have a Student who enrolls for certain subjects as part of the academic requirements. So a Student will have a list of Subjects and other personal details

Now if you see that the classes are specific to what ever responsibilities assigned. Lets make the class Student- less cohesive- lets add one method- getTeacherForSubject() in Student class.


Now you see- its not part of Student to get the name of the teacher for a given subject. Its the responsibility of the Subject to return the name of the teacher. This way the class Student is less cohesive.
(I just thought of some example, hope this clears up the concept)

Coupling: Degree to which the classes are related to each other- Low coupling is desired. If the classes are very closely related to each other- one possibility of this happening is when one class tries to access the fields of other class without using a public method. So any change in the internal implementation of this class will break the other class which was relying on it. Lets use the same example given above.


Now the requirement changes- its said that the numberOfCredits will be calculated based on the numberOfHoursPerWeek. So what happens is that there will be a getter provided in the Subject class to get the number of credits based on the number of hours per week. Now introducing this method breaks the rest of the other classes using the numberOfCredits field directly. So in order to avoid that classes should not be tightly related to each other. They should interact with each other via the public methods only. So the changed class definition would be


Hope these examples help you to understand the concept.

I had written a blog post related to this long back (Sorry for referring to my own blog)



Thanks Mr. Mohamed Sanaulla for the reply.
Hi everyone,
I making a resume for getting a job.
I want to add my skills in resume.
I have done some googling before posting this thread.
But, i am getting confused about where to place them means in which sections?
For Ex.: I can write C, Core Java, Advanced java as programming skills.
Can I add JSP as Scripting Language?
But, Where should i put Datastructures, OOPS Concepts, RDBMS Concepts ?
Where i should put Regular Expression, WEB Services ?
Can I add XML, XSLT, WSDL, UDDI as XML Technologies ?
What about HTML, CSS, AJAX?
Please help me in this.
Thanks in advance.


13 years ago
Hi everyone,
I do have some experience in object oriented programming.
I know the concept of class clearly.
But, today morning while doing surfing, as it is my daily routine, i found that in wikipedia, it is written for class that "Class is a cohesive package".
So, Specifically I would like to know here is
  • what Cohesion actually means in OOPS ? &
  • what Coupling means in OOPS ?
  • How they are related with each other?


  • Please explain me in details by giving some sample examples.
    Your Help is really appreciated.
    Thanks in advance.


    Hi,

    Hello all Forum Members,

    I am new to Oracle & RDBMS (in learning phase).

    Query that i wish to post here is,

    I don't know where (means, in which cases) views and procedures should be used?

    I don't know how they improve performance?

    please explain it to me by giving some examples.

    Can i use them for login, Registration purpose?

    Thanks in advance.
    13 years ago
    Hi,

    hello all forum MMerebbrs,

    I am new java platform.

    I am learning & exploring java API.

    I want to develop an application on File Directory System API.

    Can anybody on this forum suggest me some idea

    Thanks in advance.
    13 years ago
    Hi,

    Hello all forum Members,

    This is my question related to object oriented programming concept.

    I have a doubt in mind related to object oriented programming concept called as "Data
    Protection".

    Can you tell me the difference beteween Data Hiding & Data Protection ?
    Are they same or is there any difference between them?

    If there is difference, can you explain it to me?

    I know Data Hiding concept.
    It means that data is concealed within a class, so that it can't be accessed by functions outsid e the class even by mistake.

    I want your views on above issue.

    Please give your reply.

    Thanks in advance.
    13 years ago
    Please, I want opinions about this query from other experts also.
    13 years ago
    Hi,

    Hello all forum Members,

    I have a doubt in mind related to object oriented programming concept called as "Data
    Protection".

    Can you tell me the difference beteween Data Hiding & Data Protection ?
    Are they same or is there any difference between them?

    If there is difference, can you explain it to me?

    I know Data Hiding concept.
    It means that data is concealed within a class, so that it can't be accessed by functions outsid e the class even by mistake.

    I want your views on above issue.

    Please give your reply.

    Thanks in advance.
    13 years ago

    Peter Johnson wrote:Here are my tips:

    1) Practice makes perfect. That is, the more programs you write, the more comfortable you will be with it. Think of apps you could write and write them. Try extending existing open source projects. Just do it.
    [Also try this - work on a new app. Once you are done, throw the code away and the write it again. You will probably write it different, because of what you learned the first time. Make note of those differences and why you did it differently. This will help you build a coding style and help you refine your skills, as well as teach you what is and is not important.]
    [Also try this - write an app and then put it aside. Then 3, 6, 12 months later comes back and try to add some features to the app. After cursing the idiot who wrote the original code, rewrite the app. Repeat this until you are no longer cursing the idiot. You will then be able to write understandable and maintainable code. Note that the time period is critical here - this will not work with code you work with every day or periodically. It will only work if the amount of time has been so long that you don't recall what you did, or more importantly, why.]

    2) Look at what others have written. This is one of the great things about open source - you can download and look at code other people have written. Pick a well establish and well thought of project (or several) and examine their source code. (One caveat on this - much of the source code, even from well-established open source projects is awful. Not that it doesn't work, but it often doesn't follow what I would consider to be best practices. Recall what I said about cursing the idiot in the prior tip.)

    3) Find a mentor. Having someone with good programming skills and have them review and comment on what you have written.

    4) Read algorithmic books. These are texts not on basic programming skill, but on how to best apply those skills to tackle specific problems. Books like the Design Patterns by the Gang of Four fall into this.

    5) Read books about polishing your development efforts. Programming is not just about slapping down some code until a simple test case works. Books such as Code Complete come to mind.



    Thank you Very Much Sir.
    13 years ago
    Hello all Members,

    Please suggest me some very basic level books on algorithms.

    Thanks in advance.
    13 years ago
    Hello all,

    What are the things that are to needed to become a good programmer?

    I am in this field from last 1 year still i am facing fear in doing programming.

    I have the fear in building logic.

    Seniors here, Please suggest me some tips & practices to become a good programmer & remove fear of logic development.

    Thanks in advance.
    13 years ago
    Hello all,

    What are the things that are to needed to become a good programmer?

    I am in this field from last 1 year still i am facing fear in doing programming.

    I have the fear in building logic.

    Seniors here, Please suggest me some tips & practices to become a good programmer & remove fear of logic development.

    Thanks in advance.

    13 years ago