What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-27 08:20:18
basic java interview questions
There are many questions that can be made to test your java knowledge, like the ones below: Explain JDK, JRE and JVM? Explain public static void main(String args[]) in Java Why Java is platform independent? Why Java is not 100% Object-oriented? What are ... Add solution -
Java 2022-02-01 01:35:26
collection vs collections
Collection is an interface in Java. But Collections is a class in Java. Collection is a base interface. Collections is a utility class in Java. Collection defines methods that are used for data structures that contain the objects. Collections define the... Add solution -
Java 2022-01-26 02:10:14
Calculate area of rectangle using class in java
// calculate area of rectangle using class in java import java.io.*; class RectangleShape { int length, breadth; void setValue(int l, int b) { length = l; breadth = b; } // get area of rectangle int findArea() { ... Add solution -
Java 2021-11-20 05:00:31
java basic programs for interview
There are many questions that can be made to test your java knowledge, like the ones below: Explain JDK, JRE and JVM? Explain public static void main(String args[]) in Java Why Java is platform independent? Why Java is not 100% Object-oriented? What are ... Add solution -
Java 2021-10-06 06:45:03
java new localdatetime
import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.Month; /** * Java Program to demonstrate How to use LocalDateTime class in Java 8. * LocalDateTime is LocalDate + LocalTime, i.e. date with time ... Add solution