Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Create two classes named Mammals and Marine Animals. Create another class named Blue Whale which inherits both the above classes. Now, create a function in each of these classes which prints "I am mammal", "I am a marine animal" and "I belong to both the categories: Mammals as well as Marine Animals" respectively. Now, create an object for each of the above class and try calling


function of Mammals by the object of Mammal

function of Blue Whale by the object of Blue Whale

function of each of its parent by the object of Blue Whale

function of Marine Animal by the object of Marine Animal


Write a program to read from “data.txt” that contains more than 1 digit of integers. Then you have to find the number which have same digits like (444, 3333, 11). You should make as many functions as you can with proper naming convention.


The following formula is used to calculate between three values:


-Distance in Kilometer, KM

- Time in Hour, H

-Speed in KM/H


Determine the car’s speed based on the related input value using the following table. using selection.


speed indicator


<=110 KM/H okay

>110 KM/H fast



Write a program that mimics a calculator . The program should take as input two integers and the operation to be performed . It should then output the numbers , the operator and the result . (For division , if the denominator is zero , output an appropriate message.) .Some sample output as follow 

3 + 4 = 7 


13 * 5 = 65


Given a string, write a program to print a secret message that replaces characters with numbers 'a' with 1, 'b' with 2, ..., 'z' with 26 where characters are separated by '-'.


Note: You need to replace both uppercase and lowercase characters. You can ignore replacing all characters that are not letters.


Input:-

The input will be a string in the single line containing spaces and letters (both uppercase and lowercase).


Output:-

The output should be a single line containing the secret message. All characters in the output should be in lower case.


For Example -

Input 1:-

python


Output 1:-

16-25-20-8-15-14


Input 2:-

Foundations

Output 2:-

6-15-21-14-4-1-20-9-15-14-19


Input 3:-

python learning

Output 3:-

16-25-20-8-15-14 12-5-1-18-14-9-14-7

Note:- there is a space between two strings that means 16-25-20-8-15-14 12-5-1-18-14-9-14-7


We want given both three inputs they can get both three outputs we code was run one by one input and output


Suppose that you have the following declaration:

int j = 0;

The output of the statement:

if ((8 > 4) || (j++ == 7))

System.out.println("j = " + j); is:

j = 0

while the output of the statement:

if ((8 > 4) | (j++ == 7))

System.out.println("j = " + j);

is:

j = 1

Explain why.


A Sports Club is an organization formed in order to help its members develop interest in certain

sports.


A Sports Club is an organization formed in order to help its members develop interest in certain

sports.


HTML Hyperlinks & Bootstrap Position Utilities


The goal of this coding exam is to quickly get you off the ground with the Navigation within the same HTML document and Bootstrap Position Utilities.


Give Home, Profile, Education, Projects and contact as html hyperlink tag to html main heading tag


Give attribute id to html main heading element to hyperlink


Note:-

Use the HTML main heading elements for the text.


write a program that accepts dates written in numerical form and then output them as a complete form. for example, the input 2 26 1986 should produce the output: february 26, 1986


LATEST TUTORIALS
APPROVED BY CLIENTS