Java fundamentals (Beyond basic)


Java editions Java has 5 editions/platforms Java SE - Standard Edition Java EE - Enterprise level application Java FX - Java smart client application Java ME - Micro Edition Android Android is the most popular phone platform using Java. However, Java Micro Edition still plays a really important role in smart devices and the internet … Continue reading Java fundamentals (Beyond basic)

Advertisements

ACM (TJU) : 3004


package volume_XXI; import java.util.Scanner; public class Id_3004 { /** * @param args */ public static void main(String[] args) { Scanner input = new Scanner (System.in); int dataSet = input.nextInt(); int testCase = 0; while ( dataSet-- > 0 ) { int m = input.nextInt(); String s = input.next(); System.out.print (++testCase + " "); for ( … Continue reading ACM (TJU) : 3004