Answer:
import java.util.*;
import java.lang.*;
import java.io.*;
class Codechef
{ public static void swapValues(int[] values)
{int temp= values[0];
values[0]=values[1];
values[1]=temp;
System.out.print(values[0]+" "+values[1]);}
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc= new Scanner(System.in);
int A[] = new int[2];
A[0] = sc.nextInt();
A[1]= sc.nextInt();
swapValues(A);
}
}
Input:-
3 8
Output:-
8 3
Input:-
1 2
Output:-
2 1
Answer:
C.
Explanation:
Based on the Java documentation; when creating an instance of BigDecimal, we can pass a string as a constructor.
System.out.println(new BigDecimal("454.45"));
Answer:
B). 3 lines
Explanation:
In order to modify the loop is drawn using three circles to make it drawn employing ten circles, <u>the code must be comprised of three lines</u>. The execution of line 1 includes 3 as the value of x while y remains undefined. Line 2 would employ the same value of x i.e. 3 and the introductory value of y(5 = 3 + 2) where x + 2 is being executed. In the third line, 10 circles can be drawn in total in the loop as {2(previous value) * 5 = 10}, y's updated value.
It is called vulnerabilities
Answer: Software
Explanation:
Security certificate is defined as the assurance that maintain authenticity and intactness of a website or different sites.It is present in small sized data filed that establishes encryption and validation through verification of owner's identity.
- As per the suggestion of Webmaster, who takes care of web-pages and web-servers , security certificate should be purchased to verify the transmission of message with encryption.
- Certificate in this case will be acting as software for providing security and operations to the websites.