Gopal
BAN USER
My name is Gopal Rao Ambeer.I am pursuing MSIT (Master of Science in Information Technology) second year in IIIT Hyderabad. I have completed my PG (Information Technology) from JNTU Hyderabad. My area of specialization is building application for eBusiness Technologies. I like building Database enabled applications and mobile applications
- » My HomePage
- » Google Profile
http://www.gopalambeer.co.nr/profile.php
public void reverse()
{
Node currentNode, nextNode, loopNode;
currentNode = first;
nextNode = first.next;
loopNode = null;
while (nextNode != null)
{
currentNode.next = loopNode;
loopNode = currentNode;
currentNode = nextNode;
nextNode = nextNode.next;
}
first = currentNode;
first.next = loopNode;
}
I think there is no keyword called finalizer. Java has three keywords.1. Final 2. Finally 3. Finalize
Final : If we declare variable like static final, we can not change that variable. It constant througout the program
Finally: We can use finally key word with try and catch. This (Finally) block executes irrespective of the try catch block
Finalize: JRE can call finalize method before an object is going to be Garbage Collection. Means it is the last chance of object to full fill its responsibility
Hope you like it. If anything is wrong pls let me know
public static void pairSum(int [] array, int sum)
{
Arrays.sort(array);
int first = 0;
int last = array.length-1;
for (int i=0; i < array.length; i++)
{
int s = array[first] + array[last];
if (s == sum)
{
System.out.println(array[first] + " " +array[last]);
++first;
-- last;
}
else
{
if (s<sum)
++ first;
else
-- last;
}
}
}
Repjaramsmond, Passenger rate clerk at Sportswest
I am a Passenger Rate Clerk . Charter representative Provides fare information to passengers traveling on non scheduled or chartered motor ...
RepPennyRMullins, xyz at Aspire Systems
I am a creative Interior Designer with 2+ years of experience building customized solutions for residential and commercial clients. Intuitively ...
RepI am Ricky from the USA. I am 29 year old. I am doing a job. I am doing a ...
Repsheilaahollins, Blockchain Developer at ASAPInfosystemsPvtLtd
Hello, I am working as a mineralogist studying rocks, gems, and other minerals, including their chemical and crystalline structures. I ...
Repbarrondanielle057, Android test engineer at A9
My name is Danielle and I am working as a Contract manager. I love this job.and nowadays I am ...
Reparlenekraft8, How to book a seat on Southwest airlines flight at Absolute Softech Ltd
I am a coding specialist from MD,USA.I’m indifferent to most items on the planet.Participated in creating ...
Replouisefbray, Integration Software Engineer at Ask.com
Hey! My name is Louise and I am a computer hardware retailer and wholesaler.I also provide services online. My ...
Repgaryllamasg, Backend Developer at Adjetter Media Network Pvt Ltd.
Filling in as an office agent at Mode O'Day here I learned various things here , or Office Administrator, is ...
Repcorinnedonon, Backend Developer at A9
I am Corinne, a highly organised, professional and self-motivated Dietitian with a great passion for nutrition and people’s well-being ...
RepAadavKiva, abc at 8x8
By profession I am a blogger and passionate about writing new and informative blog content who easily understand visitors. Nowaday ...
Repmargaratlonger, Talent Acquisition at Huawei
Hello, I am Margaret . I have been working with the company of Heilig-Meyers for the last 7 year. I guide ...
RepLaylaMoore, Analyst at ADP
I am a skilled content editor with 3 years of excellent service in the communications field. I developed, researched, and ...
Repgenoimthomas666, Android test engineer at 8x8
Hey, I'm a Training and Development Manager. And I love my work. Apart from this, I am doing some ...
Repclairetsmith49, AT&T Customer service email at ADP
Hello, I am Claire and work as a Human resources and I am responsible for recruiting, screening, interviewing and how ...
Repjosebowlin78, Aircraft engineer at CSK Auto
I am an Aircraft engineer . My role as an aircraft engineer involves the application of scientific and technological principles to ...
Repstephanielstokes45, Android Engineer at ABC TECH SUPPORT
Hey, my name is Stephanie and I completed all my study from California. And Nowadays I am working as a ...
Replinhhonibh, Animator at ABC TECH SUPPORT
I am an experienced, officially certified driving instructor. Excellent driver with a great safety record. Encyclopedic knowledge of traffic rules ...
public static boolean anagrom(String s1, String s2)
- Gopal March 28, 2011{
return sort(s1) == sort(s2);
}