I cant figure out how to do this but I am suppose to write a java code that is suppose to print a capital H,E,L,L,O. I tried during it in different ways but when I run it it says null instead of saying Hello in big letters and I do not know why it is showing me null instead of what I want. Here is my code:
package p2.pkg18; public class P218 { private static String finalstringLETTER_H; private static String finalstringLetter_E; private static String finalstringLetter_L; private static String finalstringletter_L; private static String finalstringLetter_O; public static void main(String[] args) { System.out.println(finalstringLETTER_H); finalstringLETTER_H="* *\n**\n*****\n**\n**\n"; finalstringLetter_E="*****\n*\n*\n*****\n*\n*\n*****\n"; finalstringLetter_L="*\n*\n*\n*\n*\n*****\n"; finalstringletter_L="*\n*\n*\n*\n*\n*****\n"; finalstringLetter_O="****\n* *\n* *\n* *\n* *\n* *\n****"; } }