Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a simple Java application template. This is a just a bare-bones, generic

ID: 3745134 • Letter: C

Question

Create a simple Java application template. This is a just a bare-bones, generic program shell, but it contains all the basic structural elements common to all the code we'll write in this course Don't overthink this assignment. It's actually very simple! See the cited examples in the assignment file, the lecture materials on problem solving, and the coming Weds office hour recording. Here is the assignment file: HWO3B Template.pdf Note: your template doesn't need to "do" anything yet. It's just an empty skeletal structure that you'll use to set up all your next programs. If you want to, add a simple print statement to this template so that you know it's "working" (in fact, I'd strongly encourage that! Once you have this on hand, you can use it as a starting point to quickly create new code for coming assignments, Simply copy this file to a new name, do a global class name replace, and start writing your new Please take care to get this template "clean" and well laid-out, because you'll be using it over and over again. I will be a stickler for proper indents, nesting, braces, whitespace, etc. in the coming programs:-) This is now all part of the "good coding conventions" which are expected going forward. Please begin familiarizing yourself with the course Coding Standard, for additional guidance. Adherence to the coding standards described now becomes REQUIRED for all code submitted for grading, and will be part of all upcoming grading rubrics. HW03B: Template Criteria Ratings Pts MacBook Air 2o Fs 4 110 3 4 0

Explanation / Answer

package samples;

/**

* 1)author name

* 2)The java class or method name

* 3)The date of last modification to the file.

* 4)Purpose of your code

* 5)Assumptions make regarding the problem to be solved,

* the kinds of inputs your program will accept,

* and deviations from the assignment requirements

*/

//this is class block

public class TemplateMainFL {

//this is main block

public static void main(String[] args) {

/*

* declaring variables

* dataType variable_name= value;

* Example: int marks=100;

*/

/*

* if statement

* if(condition){

* Statements to execute if condition is true

* }

*

*/

/*

* Loop in java

* while(condition){

* if condition is true the statements in the while will works

* till the condition becomes false

* other wise next statement after while will print

* }

*/

System.out.println("Template for java code");

}

}

--------------------------------------------Output----------------------------------------------

Template for java code

------------------------------------------------------------------------------------------------------------

if you are compile this code using cmd than use : javac class_name.java

and for excution : java class_name

In this Example class name is TemplateMainFL

So to compile : javac TemplateMainFL.java

to execute: java TemplateMainFL

And if you are using any IDE than directly run the program.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote