This assignment will help you to get started with NetBeans and using Java compiler:   To begin, put a block comment at the beginning of your Java file (and every Java source file in the future) with the assignment number, assignment title, program author [your name], and the date it's due. Next, similar to the programs presented in the first chapter of the textbook, use System.out object to display the following information: Your first name The name of the operating system you are using The name of your project (or simply the folder name if not using the IDE) The name of the class that contains the main() method in your source file. Note: Your program should print each of the above items on a separate output line. "The name of the class that contains the main() method in your source file. public class MyClass {     public static void main(String[]) {         System.out.println( "Hi" );     } }

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter13: File Input And Output
Section: Chapter Questions
Problem 1DE
icon
Related questions
Question

This assignment will help you to get started with NetBeans and using Java compiler:

 

    1. To begin, put a block comment at the beginning of your Java file (and every Java source file in the future) with the assignment numberassignment titleprogram author [your name], and the date it's due.

    2. Next, similar to the programs presented in the first chapter of the textbook, use System.out object to display the following information:

      • Your first name

      • The name of the operating system you are using

      • The name of your project (or simply the folder name if not using the IDE)

      • The name of the class that contains the main() method in your source file.

  • Note: Your program should print each of the above items on a separate output line.

  • "The name of the class that contains the main() method in your source file.

    public class MyClass {
        public static void main(String[]) {
            System.out.println( "Hi" );
        }
    }


Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,