comprehensive questions and well
elaborated correct answers graded A+
Professional Academic Assistance Services
Services Offered
Proctored Exam Assistance
Online Class Management (Full Course Support)
Exam Preparation & Study Materials
Assignments and Coursework Support
Essays and Research Papers
Discussion Posts and Replies
Contact Information
Email:
WhatsApp: 0705994759
, CLASS HEADER - correct ans:all classes, even in repl.it have a class header. Most of what you will see in
repl.it will be :
public class Main
MAIN METHOD - correct ans:there will be a main method in all repl.it code. Greenfoot uses the World
class to run your code. There is no GUI in repl.it, so it starts execution from the main method:
public static void main(String[] args)
IMPORT STATEMENTS - correct ans:found at the top of a file, above the class and imports packages (with
classes) that are not standard in java... like import java.util.Scanner
SCANNER CLASS - correct ans:includes methods, such as: next, nextInt, nextDouble, nextLine
CREATING A SCANNER OBJECT - correct ans:Scanner objects are used for inputting data.
KEYBOARD INPUT - correct ans:the Scanner class is used to input data from the keyboard with System.in
OUTPUT - correct ans:System.out.println and System.out.print create output to the screen in repl.it
System.out.printIn - correct ans:prints text on a line and at the end advanced to the beginning of the
next line
System.out.print - correct ans:prints text on a line and keeps the cursor at the end of the line after the
text prints
ESCAPE CHARACTERS - correct ans:\\ prints 1 backslash, \" prints a ", \t prints a tab, \n moves to the
next line
LINE COMMENTS - correct ans:start with // and from there to the end of the line is not compiled
BLOCK COMMENTS - correct ans:tart with /* and goes till */ and the text inside is not compiled