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
Rashid [163]
4 years ago
13

The class Date has a single constructor that accepts the integer value: a month- (1 for January through 12 for December), a day

of the month (1-31), and a year (in that order). Given the Date variable datep, dynamically allocate a Date object with the initial value of March 12, 2006, and assign the resulting pointer to datep.
Computers and Technology
1 answer:
vaieri [72.5K]4 years ago
8 0

Answer:

public class Date{

Public Date(int month,int day,int year){

}

}

void main(){

Date datep=new Date(3,12,2006);

}

Explanation:

Here we declared a class "Date" and defined one public constructor which will take month,day and year. In main we created an object to that Date class by invoking this parameterized constructor and assigned that object to "dateap" Date variable

You might be interested in
Microsoft PowerPoint is popular software that allows you tocreate slides, handouts, notes, and outlines.
gtnhenbr [62]

Answer:

The statement is true. Microsoft PowerPoint is a popular software that allows you tocreate slides, handouts, notes, and outlines.

Explanation:

Microsoft PowerPoint is a presentation program developed by Microsoft for Windows, macOS and lately for Android and iOS operating systems. It comes integrated in the office package called Microsoft Office as one more element, which can take advantage of the advantages offered by the other components of the computer to obtain an optimal result.

It is a program designed to make presentations with schematized text, as well as slide shows, text animations and clip art or imported from computer images. Different font, template and animation designs can be applied. These types of presentations are usually more practical than those of Microsoft Word.

5 0
3 years ago
Question No. 5:
Mkey [24]

Answer:

The answers are:

a) (1001111)_2 = (79 )_{10}\\b) (11000001)_2 = (C1 )_{16}\\c) (E16)_{16} = ( 3606)_{10}\\d) (56)_{10} = (38 )_{16}\\e) (63)_{10}= (111111 )_2

Explanation:

<u>a. (1001111) 2 = ( ) 10</u>

In order to convert a base 2 number to base 10 number system the place values are used.

the procedure is as follows:

(1001111)_2\\=(1*2^6)+(0*2^5)+(0*2^4)+(1*2^3)+(1*2^2)+(1*2^1)+(1*2^0)\\=(1*64)+(0*32)+(0*16)+(1*8)+(1*4)+(1*2)+(1*1)\\=64+0+0+8+4+2+1\\=79

<u>b) (11000001) 2 = ( ) 16</u>

In order to convert a base 2 number into base 16, group of 4-bits are made starting from right to left

The groups from the given number are:

1100 0001

Then the groups are changed in to decimal/hexa

So,

(1100)_2 = (1*2^3)+(1*2^2)+(0*2^1)+(0*2^0)\\=(1*8)+(1*4)+(0*2)+(0*1)\\=8+4+0+0=12=C\\\\0001=1

Writing in the same order in which groups were:

(C1)_{16}

<u>c) (E16) 16 = ( ) 10</u>

(E16)_{16}\\=(E*16^2)+(1*16^1)+(6*16^0)\\=(E*256)+(1*16)+(6*1)\\=3584+16+6\\=3606

<u>d) (56) 10 = ( ) 16</u>

Dividing by 16 and noting remainders

16        56

           3 - 8

So,

The number in base 16 is 38

<u>e) (63) 10 = ( ) 2</u>

Dividing by 2

2         63

2         31 - 1

2         15 - 1

2          7 -  1

2          3 -  1

            1 - 1

So the  number after converting in base 2 is:

111111

Hence,

The answers are:

a) (1001111)_2 = (79 )_{10}\\b) (11000001)_2 = (C1 )_{16}\\c) (E16)_{16} = ( 3606)_{10}\\d) (56)_{10} = (38 )_{16}\\e) (63)_{10}= (111111 )_2

8 0
3 years ago
Write. true or false​
ella [17]
Um I need a image or smth
8 0
3 years ago
Read 2 more answers
A museum is evaluating historical documents for authenticity, reviewing their physical condition, and categorizing them by subje
statuscvo [17]

Defining and assigning categories by the subject could be automated easily without incurring high costs or large amounts of time and effort.

One may create a straightforward algorithm to categorise the documents.Include every potential category in the algorithm.

Then, it would be simple to organise documents by subject, immediately backing up to a public cloud. Keeping corporate workloads on the public cloud involves duplicating resources.

As a fallback, using a service provider. selecting a backup solution that works between clouds (C2C). using online cloud backup services.

You should assess or evaluate these information sources once you have located information that satisfies the topic and criteria of your research. When you evaluate information, you are prompted to consider the authority, timeliness, point of view, and bias of various information sources.

Learn more about time and effort:

brainly.com/question/27670681

#SPJ4

6 0
2 years ago
If you want to create programs with more detailed images, maybe even characters that you could interact with, what pieces of inf
Oliga [24]

The pieces of information needed in the code to create a more detailed program are the sprite objects

<h3>What are sprites?</h3>

Sprites are program objects that are used in a program to add more features such as detailed images, characters and animations in the program.

The sprite objects are dragged and dropped on the program

Hence, the pieces of information needed are the sprite objects

Read more about object-oriented program at:

brainly.com/question/25649719

6 0
2 years ago
Other questions:
  • How would you describe by adding comments to the coding explaining that you know what int num1 = 10; int ave = (num1+num2+num3)/
    10·1 answer
  • Which of these devices is usually the default for most home network?
    12·1 answer
  • Describe how an attacker can use whois databases and the nslookup tool to perform reconnaissance on an institution before launch
    8·1 answer
  • ________ is an encryption standard used for secure transactions such as credit card processing and online banking. TLS DMZ White
    14·1 answer
  • If you want to display information from a database to someone who is not a user of the database, you will have to use:
    7·1 answer
  • Pls help with this (20 points again)
    8·1 answer
  • Which of these is not a valid form<br>layout in Microsoft Access?​
    11·1 answer
  • PLS HELP I GOT 30 MINS TO TURN THIS IN!!!
    7·2 answers
  • I'll give you Brainliest if you can tell me the name of this class and the name of the game, LOL
    9·1 answer
  • The analysis of attempting to solve a problem with information systems is called ________.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!