java pgm for compare two vesion and print the greatest
version on the console.

e.g:

like 1.4.2 and 1.5.2

biggest is 1.5.2

1.2.5 and 1.2.8

biggest is 1.2.8


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JavaScript Interview Questions

What is scope of variable in javascript?

0 Answers  


How do you declare a variable in javascript?

0 Answers  


What is console.log()?

0 Answers  


Where do you put javascript in html?

0 Answers  


In a pop-up browser window, how do you refer to the main browser window that opened it?

0 Answers  






How to force a page to go to another page using javascript ?

0 Answers  


How do you declare javascript?

0 Answers  


How can we detect os of the client machine using javascript?

0 Answers  


What are the primitive data types in JavaScript?

0 Answers  


Does spread operator deep copy?

0 Answers  


What is asynchronous javascript?

0 Answers  


What's the Difference Between Class and Prototypal Inheritance?

0 Answers  


Categories