Question
Output of below code public class Prg {
public static void main(String args[]){ System.out.print("A" + "B" + 'A'); } }Solution
Here A and B are treated as string and hence the character will be also converted to string data type in order to append it. So the answer is ABA.
If Block ‘A’ is situated in the centre of the township then which of the following is situated in the Western area of township?
Rohit travels 25m towards the east and then turns 90° to his right and travels another 4 m. Finally, he turns right and covers 25m. How far is he now f...
What is the distance between point Z and point V ?
In which direction point J with respect to point O?
Suman walks 20 m north, then she turns left and walks 11m. Again she turns left and walks 32m. Finally she turns left and walks 11m. In which direction ...
Six points D, E, F, G, H and I are at different directions and distance from each other. Point E is 7m south of Point I, which is in 6m west of Point F....
Find the shortest distance between points S and V?
What is the direction of point E with respect to A?
In which direction E standing with respect to I?
In which direction is point F with respect to point K?