1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
blsea [12.9K]
3 years ago
15

2. Suppose you want to write a method that prints a heading on a new output page, along with a page number that is 1 in the firs

t activation and that increases by 1 with each subsequent activation. Can this be done without parameters and without reference to nonlocal variables in Java
Computers and Technology
1 answer:
Ilia_Sergeevich [38]3 years ago
7 0

Answer:

This can be done in both Java and C#, using a static (or class) data member for the page number.

Explanation:

You might be interested in
What are some examples of everyday coding? (ex: phones, computers, etc.)
Maslowich
Im guessing you mean where coding is used?
pretty much anything with lights or a button

but, examples:
(some) watches
(newer) cars
planes
boats
credit cards (using one requires code to be ran)
Cash registers
(some) safes
Alarm Clocks
Routers
ATMs
eBooks
Cellular Sattelites
Weather Sattelites
Energy Grids
Water Plants
Sewage
Anywhere where mail is sorted

8 0
4 years ago
Which spreadsheet toolbar displays options such as Cut and Paste?
Colt1911 [192]
The answer would be ''Drawing Toolbar'' and you can find this inside your mouse area, where u click the right button (right side) and it shows a small chart/toolbar where it gives you the options to copy, cut, paste and more.
4 0
3 years ago
You are a game designer and are going to give a presentation to a group of high school students to try to get them interested in
KiRa [710]

Answer:

Pick a concept. Generate a few game concepts to see what kind of game you want to make. ...

Gather information. Game creation involves extensive research. ...

Start building. ...

Refine your concept. ...

Test your game. ...

Market the finished product.

Explanation:

6 0
3 years ago
Of the measures of feasibility in the accompanying figure, ____ considers points such as "Does the proposed platform have suffic
Olin [163]

Answer:

technical feasibility

Explanation:

This is the process of validating the technology assumptions, architecture and design of a product or project. A technical feasibility study shows the details of how you intend to deliver a product or service to customers. Puts into consideration the following :

materials, labor, transportation, where your business will be located, and the technology that will be necessary to bring all this together.

3 0
3 years ago
Write a statement that reads 5 successive integers into these variables that have already been declared: x1, x2, x3, x4, x5. The
prisoha [69]

Answer:

Following are the statement in C++ language :

#include <iomanip> // header file  

using namespace std; // namespace

int main() // main method  

{

   int x1,x2,x3,x4,x5; // variable declaration

cout<<" Enter the 5 sucessive integer:";

cin>>x1>>x2>>x3>>x4>> x5; // taking 5 input from user

cout<<right;

// prints each  of  its own line and form a right-justified  

cout<<setw(5)<< x1 << "\n" << setw(5) << x2 << "\n" <<setw(5) << x3 << "\n" << setw(5) << x4 << "\n" << setw(5) << x5 << "\n";

return(0);    

}

Output:

Enter the 5 sucessive integer: 45

23

445

6

8

 

  45

  23

 445

   6

   8

Explanation:

Description of program is given below  

  • Declared a 5 integer value x1,x2,x3,x4,x5 respectively.
  • Read the 5 integer value from user by using cin funtion.
  • Finally Print these 5 value in its own line and form a right-justified by using setw() function on it
5 0
3 years ago
Other questions:
  • Which is a difference between the systems development life cycle (SDLC) and extreme programming (XP)?
    7·1 answer
  • 1) Open the file DiceSimulation.java attached below. Create a new project on NetBeans called DiceSimulation. Copy the code from
    13·1 answer
  • Sue needs to add a header and a footer to a presentation. Which process should she use to do this?
    10·2 answers
  • When a project manager can look at the progress towards the goals set, this is considered...?
    11·2 answers
  • Fifty part-time students were asked how many courses they were taking this term. The (incomplete) results are shown below. Need
    6·1 answer
  • Which option should you select to accept a tracked change? A. Accept B. Reject C. Review D. Delete
    8·2 answers
  • Why would online learning make you lazy
    13·1 answer
  • Java Programming
    14·1 answer
  • Designing a video game takes tons of creativity. What inspires your personal creativity and ideas for video games? Explain and g
    15·1 answer
  • What does the asterisk (*) after select tell the database to do in this query?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!