lalitha kalanadhbhatla

Greenhorn
+ Follow
since Nov 05, 2006
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 lalitha kalanadhbhatla

Hi,
The Clone() method has to be overriden in the class A to make it accesible.
Just verify the Clonable interface to get a better idea
Hi,
Actually the offset argument does'nt really start from 1
The offset argument must be greater than or equal to 0, and less than
or equal to the length of this string buffer.
As Chandra said the value that we print at s.charAt(11) throws exception though the string buffer length increases by 1.
Hi all,
I also want to join the grp for writing the SCJP1.5.I want to write the exam by this month end if possible.so lets start.
Lalitha.
Hi all,
I also want to join the grp for writing the SCJP1.5.I want to write the exam by this month end if possible.so lets start.
Lalitha.
Hi,
Here the Z is declared as final type and it is refernced to X=5 and in the next line it is given Z.X=6.Does it allow the final varibles to be reassgined a value after declaring it final???
actually tell me the exact o/p of the program.Its bit confusing.
Regards,
Lalitha.
Hai Guru,
As you sent the values 1,2 to the constructor of obj1 the values are passed by value.The changes takes place in the class obj1 but the values are not returned to main class as the pass by value only makes a change to copy that is passed to the obj1 but the main class remains unaffected.
class Main {public static void main(String[] args) {System.out.println(1);}void foo(){this=new Main();}}
Hi all,
The code that is given here gives out error that "value cannot be assigned to final variable.But see this code once
public class Main{
Main ob;
public static void main(String[] args)
{
System.out.println(1);
}
void foo(Main ob)
{
this.ob=new Main();
}

}
Here "this" is used to make global variables to be overriden by local variables thats it.And as per my knowledge it is keywrd rather than a variable.
Regards,
Lalitha