Java
Java Applet Of Moving Plane
“applet” class [crayon-5a2bba328b1e9547677659/] HTML File [crayon-5a2bba328b1fc411227594/] How to Run After compilation you can use “appletviewer” to run your applet. appletviewer xyz.html
“applet” class [crayon-5a2bba328b1e9547677659/] HTML File [crayon-5a2bba328b1fc411227594/] How to Run After compilation you can use “appletviewer” to run your applet. appletviewer xyz.html
What isĀ #include “stdafx.h” It is a custom header file of Visual Studio. You can see it’s content from right click menu There are more header files inside it. There is description of each header file(if you open them) scanf not Read more…
HCF and LCM [crayon-5a2bba328b891220230061/] LCM LCM can be calculated using a*b/HCF
[crayon-5a2bba328ba60122638139/] Discussion In above code sample we have not enclosed sum/length into Parentheses but in some programs we have enclosed arithmetic calculations into parentheses. It is because /,*,% are not overloaded while + is overloaded and that’s why (-) will Read more…
[crayon-5a2bba328bdf2075811406/] Discussion In above code sample we have used str.length() where length() is a function but for array length we use array.length where length is property.
Simple [crayon-5a2bba328c013457676437/] Recursive [crayon-5a2bba328c01b729210521/]
[crayon-5a2bba328c1e1477732454/] Discussion Above is long and tedious way to convert decimal to binary. Other way is : [crayon-5a2bba328c1e9891849120/]
[crayon-5a2bba328c3a0630866937/] We can use Math class sqrt [crayon-5a2bba328c3a8019852815/] Discussion Give Input as command line arguments : java PerfectSquare 36
[crayon-5a2bba328c55b972210986/] Output [crayon-5a2bba328c562976726672/]