Java AtomicLong longValue() MethodThe longValue() method of java AtomicLong class Returns the value of the specified number as a long. SyntaxReturnsthe numeric value represented by this object after conversion to type long Example 1Test it NowOutput: 0 Example 2Test it NowOutput: 2000 Example 3Test it NowOutput: -123456 Example 4Test it NowOutput: -19 Next TopicJava AtomicLong Class |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India