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 -
C# 2022-02-06 17:40:02
static methods c#
In C#, static means something which cannot be instantiated. You cannot create an object of a static class and cannot access static members using an object. C# classes, variables, methods, properties, operators, events, and constructors can be defined as s... Add solution -
Java 2022-01-23 09:36:27
type of constructor in java
There are three types of constructors: Default, No-arg constructor and Parameterized. If you do not implement any constructor in your class, Java compiler inserts a default constructor into your code on your behalf. This constructor is known as defaul... Add solution -
Other 2022-01-22 01:35:36
pojo api testing
POJO (Plain Old Java Object), (usually used to represent data) The POJO Class usually have encapsulated fields : optionally constructors , toString Serialization: POJO to JSON (or string, byte array) when we MAP a Java object to API JSON format (Java ... Add solution -
C# 2021-11-21 08:25:13
constructor and destructor in c#.net
What is a constructor in C#? A special method of the class that is automatically invoked when an instance of the class is created is called a constructor. The main use of constructors is to initialize the private fields of the class while creating an i... Add solution -
TypeScript 2021-11-20 23:02:10
how to ignore a field while desiarilizing in java if its type is not wrong
public class UserAccount implements HasMoney { @JsonIgnore private BigDecimal money; // Other variable declarations, constructors @Override @JsonProperty public BigDecimal getMoney() { return money; } @JsonIgnore... 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