- clicking through on the method name, pressing
⌥ ⌘ B
while the cursor is on the method name ⌥ ⏎
is to create missing class, method etc- press
⌃ ⇧ R
to run this individual test. - Highlight the code you want to extract to a variable and press
⌥ ⌘ V
(macOS) - Highlight the code you want to extract to a method and press
⌥ ⌘ M
(macOS) - View all the methods available in a given Interface or Class
fn + ⌘ + F12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
import java.lang.*; | |
import java.io.*; | |
class GFG { | |
public static void main (String[] args) throws Exception { | |
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); | |
int tests = Integer.valueOf(br.readLine()); |
OlderNewer