New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Java Programming Syntax Fill in the Blanks

Fill in the Blanks

Played 16

About this activity

Test your knowledge of Java programming syntax by filling in the missing elements in Java code.

Created by

Philippines

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Java Programming Syntax Fill in the Blanks
 

Fill in the Blanks

Java Programming Syntax Fill in the BlanksOnline version

Test your knowledge of Java programming syntax by filling in the missing elements in Java code.

by pinky tapel
1

println class in BufferedReader System parseInt void new readLine System int println import close

java . io . ;
import java . io . IOException ;
import java . io . InputStreamReader ;

public Main {
public static main ( String [ ] args ) {
BufferedReader reader = new BufferedReader ( InputStreamReader ( System . ) ) ;
try {
System . out . ( " Welcome to Java Programming ! You need to use the ENTER key to go to the nextline " ) ;
. out . println ( " This program will let you solve basic math operations such as addition , subtraction , multipilcation and division " ) ;
System . out . ( " Let's begin ! " ) ;

System . out . print ( " Enter First Number : " ) ;
fnum = Integer . parseInt ( reader . ( ) ) ;

System . out . print ( " Enter Second Number : " ) ;
int snum = Integer . ( reader . readLine ( ) ) ;

int sum = fnum + snum ;
int dif = fnum - snum ;
int prod = fnum * snum ;
float qou = fnum / snum ;

System . out . println ( " The sum of " + fnum + " and " + snum + " is " + sum ) ;
System . out . println ( " The difference of " + fnum + " and " + snum + " is " + dif ) ;
System . out . println ( " The product of " + fnum + " and " + snum + " is " + prod ) ;
. out . println ( " The qoutient of " + fnum + " and " + snum + " is " + qou ) ;
reader . ( ) ;

} catch ( IOException e ) {
System . out . println ( " An error occurred while reading input : " + e . getMessage ( ) ) ;
}
}
}

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.