Answer:
The correct option of the following question is the Java applets may be contained in the files with .class extension.
Explanation:
JAVA is the Programming Language that can used to create the complete applications which may be run on the single computer or can be distributed among the servers and the clients in the network.
An applet is Internet-based programs that are written in the Java programming language, which is the programming language for Web and it can be downloaded by any of the computers. An applet is also run in the HTML. It is usually embedded in the HTML page on the Website and it can be executed from the browser.
sum of 10 natural number is 55
Answer:
public class Point
{
public int x;
public int y;
Point(int x,int y)
{
this.x=x;
this.y=y;
}
public static void main(String[] args)
{
Point p1=new Point(-2,3);
Point p2=new Point(3,-4);
System.out.println("distance:"+distance(p1,p2));
}
private static double distance(Point p1,Point p2)
{
return Math.sqrt(Math.pow(p2.x-p1.x, 2)+Math.pow(p2.y-p1.y, 2));
}
}
Explanation:
The java program defines the Point class and the public method 'distance' to return the total distance between the two quadrants passed to it as arguments (they are both instances of the Point class).
Answer:
- <u>Change the default administrative user name and password.</u>
- <u>Use an SSH client to access the router configuration.</u>
Explanation:
<em>Remember</em>, we are told the default username and password were simply, <em>"admin"</em> and <em>"password"</em>. From a security perspective, both the password and username are weak choices. Hence, to increase the security of the notebook computer where the router configuration management interface is found, it is best you change the password.
Next, by using a Secure Shell Protocol (SSH) client to access the router configuration, the security is enhanced considering the fact the new Cisco router would connect several network segments in the organization.