Portrait, as well as 100 percent scale.
There are several things you can look for on a website to help you figure out if the information is reliable. The first thing you should evaluate is the audience that the website is intended for. Is it intended for academics? School children? The general public?
The next thing you should look at is the author of the website. Is the author identified? Is the author an expert in their field? Can you establish the author's credibility? Is the author affiliated to an academic institution or credible organisation?
Look at the accuracy of the website. Check for spelling errors, proper grammar, and well-written text. Are there any sources cited? Are those sources credible?
You should also check to see when the information was published. Is the information up to date? Are all of the links up to date and functioning?
There is one last thing you can look at, and this is the domain of the website. Domains like .edu and .gov are more credible than .com or .net domains.
Answer:
int[ ][ ] X = new int[5][5];
It can also be declared and initialized this way:
int[][] X = {
{1,2,3,6,8},
{4, 5, 6, 9},
{7,5,6,8,9},
{8,5,8,8,9},
{10,2,6,8,11},
};
Explanation:
Above is a declaration of a two-dimensional array that can hold 5*5=25 int values. A java program is given below:
public class JavaTwoD{
public static void main(String args[ ]) {
// creating the 5X5 array
int[ ][ ] X = new int[5][5];
// looping through the array to add elements
for (int i = 0; i < X.length; i++) {
for (int j = 0; j < X[i].length; j++) {
X[i][j] = i * j;
}
}
Complete question is attached as snapshot.
Answer:
This will result in a compilation error.
Here's the inheritance hierarchy:
Meg -> Lois -> Brian -> Stewie
Now Meg has 2 public Fxns, a() and toString().
Lois inherits from Meg and all its public functions as well but, overrides the a() fxn of its super class.
So finally Lois has fxns a(), b() and toString().
Brian extends Lois and inherits all the above listed fxns of Lois, but overrides the b() and toString() fxns.
Stewie extends Brian and inherits all the fxns of Brian, but overrides the a() and toString() fxns.
In the Main driver fxn, we call a() and b() methods of all these classes but, the base class Meg has no b() and it is not extending any class so its not available in its scope.
This results in a compilation error.
Explanation:
No it's actually the opposite. so False.