What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-11 17:50:03
armstrong numbers problem java
// Java program to print all armstrong numbers between given range import java.util.Scanner; public class ArmstrongNumbersGivenRange { public static void main(String[] args) { int number, startNumber, endNumber, a, rem, n, count = 0; S... Add solution -
C# 2022-03-11 15:55:06
get variable from other scriptin unity c#
//Make Health public public class PlayerScript: MonoBehaviour { public float Health = 100.0f; } //Access it. public class Accessor : MonoBehaviour { void Start() { GameObject thePlayer = GameObject.Find("ThePlayer"); ... Add solution -
TypeScript 2022-03-07 13:00:10
get data from json file angular
/*--IN THE TS OF THE COMPONENT--*/ //In imports section import variableName from '../../assets/fileName.json'; //In the class part of the same file export class AppComponent { //This variable will have all the values public nameList:{field1:type, fie... Add solution -
Java 2022-03-06 14:05:03
are inner classes inherited
//Only fields and methods are inherited. //Inner class can extend it's outer class. //... Because, even the private members of outer //class are available inside the inner class. //Even though, When an inner class extends its outer class, //only fiel... Add solution -
Other 2022-03-05 12:05:02
overloading vs overriding
Method Overloading Method overloading is providing two separate methods in a class with the same name but different arguments, while the method return type may or may not be different, which allows us to reuse the same method name. 1) Method Overloadin... Add solution
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5