What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-27 07:07:02
Link react router
import React, { Component } from 'react'; import { render } from 'react-dom'; import { BrowserRouter, Route, Switch, Link } from 'react-router-dom'; import { Home } from 'wherever-you-put-it/home.component.jsx'; import { Something } from 'wherever-you-put... Add solution -
Java 2021-09-27 05:04:02
Modify the existing ArrayList contents, by erasing the second element, then inserting 100 and 102 in the shown locations. Use ArrayList remove() and add() only. Sample output of below program with input 101 200 103: 100 101 102 103
import java.util.ArrayList; import java.util.Scanner; public class ArrayListADT { public static void printArrayList(ArrayList<Integer> numsList) { int i; for (i = 0; i < numsList.size(); ++i) { System.out.print(numsList.... Add solution -
Other 2021-09-26 20:49:06
internationalization
import 'dart:async'; import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; class AppLocalizations { final Locale locale; AppLocalizations (this.locale); static AppLocalizations? of(BuildContext ... Add solution -
CSS 2021-09-26 11:31:06
css transition styled components
import React, { Component } from "react"; import ReactDOM from "react-dom"; import { CSSTransition } from "react-transition-group"; import styled from "styled-components"; const Box = styled.div` width: 300px; ... Add solution -
Other 2021-09-25 23:27:04
abstractin
Sometimes we may come across a situation where we cannot provide implementation to all the methods in a class. We want to leave the implementation to a class that extends it. In that case we declare a class as abstract by using abstract keyword on meth... Add solution -
Java 2021-09-25 20:00:05
add one day to current timestamp date in java
import java.sql.Timestamp; import java.util.Calendar; import java.util.Date; public class AddTime { public static void main( String[] args ) { Timestamp timestamp = new Timestamp(new Date().getTime()); System.out.println(timestamp)... Add solution