Snaps in Java

Java

Java is a computer programming language that is concurrent, class-based, object-oriented, and specifically designed to have as few implementation dependencies as possible

Program który robiliśmy dziś na ćwiczeniach...

test

Simple example of for-each loop (Enhanced For)...

foreach loop for

The simplest and quickest (to write) way to reverse string in Java which I have ever seen without third party libraries....

reverse string

Simple hello world program in Java....

println

Efficient way of checking whether given number is prime or not without additional libraries or pre-generating array of prime numbers. Remember to search prime numbers in positive integers....

prime-number maths