krishnaraja Puranika

Greenhorn
+ Follow
since Feb 06, 2003
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
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by krishnaraja Puranika

hi ...
if u go thru thr books u will find this: an "object" is any real world entity that has some well defined behavior.. and so on..
In the similar way a "class" can be defined as the logical collection of similar objects.
Now lets go in a general way so that we can understand these definations.
Eg:if u consider the human beings as a class , then each person will become a object of that human class. hence the class will be a logical collection of similar objects..
Now the selection if classes and objects is a purely relative matter...it differs from person to person. One can define a all the Gents as a class and each man will be the object of that class..and so on..and depends on the perticular problem..
Now lets consider a application example: Lets say we need to keep track of all the employees of a perticular company...then we can make a class called Employee and employee1,employe2..and so on as objects of that class...
hope this helped u .....
thanx...bye
21 years ago
thanx a lot...........vijay...bye
21 years ago
hi...........what i thought was he just wants to replace the string with different letters except the first letter and the code also does so...
let me know what u need
thanx in advance ..........
21 years ago
hi...consider this simple program
public class Test
{
public static void main(String[] args)
{
System.out.println("Hello All");
}
}
the question is ..i know that memory is allocated to a perticular object whenever it is instantiated and this case we wont....where the memory is allocated for this perticular program ? pls clarify ...
thanx in advance.....
21 years ago
u can use the following code
String existing_string = "Hello";
String new_string = existing_string.subString(0,1) + "ow" ;
this results in a new string How. "ow" can be raplaced with any other desired string or string object.
bye
21 years ago