I am trying to repeat an instant variable call N times in java as follows:
System.out.println(ClassName.InstantVarialble);
System.out.println(ClassName.IntantVariable * N);
//where N = 3, should preform the following:
System.out.println(ClassName.IntantVariable.IntantVariable.IntantVariable);
Is this even possible? if not, is there a built in java function that can do what im asking for or can i get ideas on how to code a method that could repeat the instant call?
im working on Doubly Linked List that doesnt return to the null position here is an image of what im trying to accomplish doesnt return to null position. its similar to what they do in this video https://youtu.be/BspFdzVvYe8?list=PLPf65fTMT69iUS9A43IyaB1Rz3BBOiPpa