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
Sedaia [141]
3 years ago
13

User defined blocks of code can be created in

Computers and Technology
1 answer:
lys-0071 [83]3 years ago
8 0
D....................
You might be interested in
According to Gitlin, during the 1950s and 60s television production costs began to exceed the licensing fees the networks paid i
wlad13 [49]

Answer:

syndication

Explanation:

According to Gitlin, during the 1950s and 60s television production costs began to exceed the licensing fees the networks paid in order to broadcast their programming. But the studios could make that money back by putting a show in syndication after it produced 100 episodes that could be programmed in re-runs. Syndication is the licensing or sale of a publication material by television stations.

5 0
3 years ago
Graded Discussion: a. Create your own Unique Java Class Previous Next Provide Java code for a simple class of your choice.b. Be
alexdok [17]

Answer:

The java program for the given scenario is shown below.

import java.util.*;

import java.lang.*;

class YourClass

{

   // two private integer variables are declared

   private int num1, num2;

   

// constructor has the same name as the class itself

// constructor is similar to a method

// constructor has no return type

// constructor may or may not accept parameters

   YourClass()

   {

       num1 = 1;

       num2 = 2;

   }

       

   // first method

   void add()

   {

      System.out.println("Sum of the numbers " + num1 + " and " + num2 + " is " + (num1+num2) );

   }

   // second method

   void subtract()

   {

      System.out.println("Difference between numbers " + num1 + " and " + num2 + " is " + (num1-num2) );  

   }

   

}

public class Test

{

   public static void main(String args[]) {          

         // object of the class, YourClass, is created

// since constructor takes no parameters, no parameters are passed to the object  

         YourClass ob = new YourClass();

         

         // first method called

         ob.add();

         

         // second method called

         ob.subtract();

   }

}

OUTPUT

Sum of the numbers 1 and 2 is 3

Difference between numbers 1 and 2 is -1

Explanation:

1. The class, MyClass, contains two private fields, one constructor and two methods.

2. The fields are integer variables which are initialized in the constructor.

3. In the add() method, both integer variables are added and their sum displayed with System.println() method.

4. In the subtract() method, both integer variables are subtracted and their difference displayed with System.println() method.

5. In the other class, Test, inside the main() method, the object of the class, MyClass, is created.

6. Using the object, both the methods, add() and subtract(), are called inside main().

7. Java is a purely object-oriented language hence all the code is written inside classes.

8. Only the class which has main() method can be declared as public. Other classes are not declared public.

6 0
3 years ago
What is the primary difference between sort and filter?
Over [174]

Answer:

all the questions that she is submitting is all the questions im getting wrong please someone answer them for me please help me out

Explanation:

im not that smart and i need help please someone

8 0
3 years ago
Read 2 more answers
Design a system for a book store that allows the owner to keep track of the store’s inventory and members. The store sells two t
IRINA_888 [86]

Hey! How are you? My name is Maria, 19 years old. Yesterday broke up with a guy, looking for casual sex.

Write me here and I will give you my phone number - *pofsex.com*

My nickname - Lovely

7 0
3 years ago
What naming scheme identifies the rows in a worksheet?
aev [14]
It is the third option 
8 0
3 years ago
Read 2 more answers
Other questions:
  • Acrynom for wys or wyg
    10·1 answer
  • According to Mintzberg's classification of managerial roles, the role of a(n) ______ is to transmit information received from ou
    7·1 answer
  • Your health insurance company gives you a discount if you wear a fitness-tracking bracelet. After wearing it for a few months, y
    5·1 answer
  • For this lab you will do 2 things:
    14·1 answer
  • Select all that apply.
    9·2 answers
  • Whose massively popular photo led to the creation of google images?
    12·1 answer
  • Who lives in a pineapple under the sea?
    5·2 answers
  • Name two components required for wireless networking<br>(answer fastly)​
    12·1 answer
  • What is a variable?
    7·1 answer
  • this feature offered by mutual funds allows investors to switch from one mutual fund to another within a fund families.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!