Monday, February 2, 2009

upgrading Fedora from previous version

When upgrading fedora from any previous version (not clean install). All the previous packages wont be erased. This might lead to a conflict between the packages while running other applications.

It can be done and it is easy to remove some older files. Use yum-complete-transaction utility from yum-utils or use "package-cleanup --cleandupes"

install yum-utils first

first charecter to upper case

public class Sample {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
String abc = "hello";
abc = Character.toUpperCase(abc.charAt(0)) + abc.substring(1);
System.out.println(abc);

}
}